[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37659: rx additions: anychar, unmatchable, unordered-or
From: |
Mattias Engdegård |
Subject: |
bug#37659: rx additions: anychar, unmatchable, unordered-or |
Date: |
Thu, 13 Feb 2020 23:23:01 +0100 |
13 feb. 2020 kl. 20.30 skrev Eli Zaretskii <eliz@gnu.org>:
> Fine with me, thanks.
Thank you, pushed.
Now only the 'compositionality' patch remains. As noted it could be done on
master, but since it is motivated by user-defined forms which were introduced
in Emacs 27, I'd rather like it to be done in that branch.
It simply seems a bit incomplete otherwise. Users read about the longest-match
guarantee of 'or', and of user-definitions, and look for a way of combining the
two. Perhaps they try
(rx-let ((arith-op (or "+" "-" "*" "/"))
(assign-op (or "=" "+=" "-=" "*=" "/="))
(op (or arith-op assign-op)))
...)
which doesn't quite work for matching "+=", say.
- bug#37659: rx additions: anychar, unmatchable, unordered-or, Mattias Engdegård, 2020/02/11
- bug#37659: rx additions: anychar, unmatchable, unordered-or, Eli Zaretskii, 2020/02/11
- bug#37659: rx additions: anychar, unmatchable, unordered-or, Mattias Engdegård, 2020/02/11
- bug#37659: rx additions: anychar, unmatchable, unordered-or, Paul Eggert, 2020/02/11
- bug#37659: rx additions: anychar, unmatchable, unordered-or, Mattias Engdegård, 2020/02/12
- bug#37659: rx additions: anychar, unmatchable, unordered-or, Mattias Engdegård, 2020/02/13
- bug#37659: rx additions: anychar, unmatchable, unordered-or, Paul Eggert, 2020/02/13
- bug#37659: rx additions: anychar, unmatchable, unordered-or, Mattias Engdegård, 2020/02/13
- bug#37659: rx additions: anychar, unmatchable, unordered-or, Eli Zaretskii, 2020/02/13
- bug#37659: rx additions: anychar, unmatchable, unordered-or,
Mattias Engdegård <=
- bug#37659: rx additions: anychar, unmatchable, unordered-or, Eli Zaretskii, 2020/02/14
- bug#37659: rx additions: anychar, unmatchable, unordered-or, Paul Eggert, 2020/02/14
- bug#37659: rx additions: anychar, unmatchable, unordered-or, Mattias Engdegård, 2020/02/14