[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master ea93326: Add `union' and `intersection' to rx (bug#37849)
From: |
Mattias Engdegård |
Subject: |
Re: master ea93326: Add `union' and `intersection' to rx (bug#37849) |
Date: |
Thu, 12 Dec 2019 23:48:40 +0100 |
11 dec. 2019 kl. 16.10 skrev Stefan Monnier <address@hidden>:
> But as a user now I wonder what's the difference between `or` and
> `union` and also why there has to be a difference.
You've convinced me -- plain 'or' is better. I've pushed a patch.
As a pleasing side-effect, some existing rx expressions are now more optimised:
(or (any "a-z") (any "0-9")) now becomes "[0-9a-z]" instead of "[a-z]\\|[0-9]".
The no-class argument restriction is still there, but could perhaps be lifted
(partially) later on.
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849), Stefan Monnier, 2019/12/10
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849), Mattias Engdegård, 2019/12/11
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849), Stefan Monnier, 2019/12/11
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849),
Mattias Engdegård <=
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849), Stefan Monnier, 2019/12/13
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849), Mattias Engdegård, 2019/12/13
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849), Stefan Monnier, 2019/12/13
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849), Mattias Engdegård, 2019/12/13
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849), Stefan Monnier, 2019/12/13
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849), Mattias Engdegård, 2019/12/15
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849), Stefan Monnier, 2019/12/15
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849), Mattias Engdegård, 2019/12/15
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849), Stefan Monnier, 2019/12/15
- Re: master ea93326: Add `union' and `intersection' to rx (bug#37849), Stefan Monnier, 2019/12/15