[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs regexp scan (Sep 29)
From: |
Stefan Monnier |
Subject: |
Re: Emacs regexp scan (Sep 29) |
Date: |
Sat, 05 Oct 2019 11:20:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> That's it. And I personally can see no confusion in the likes of
> "[-+]", whereas I did need to consult the manual to learn that "[+-]"
> is also right. So at least for me, the confusion worked the other way
> around.
As discussed here a while back, putting `-` as the last char is actually
the only choice which always works (because it can't be the first char
when that first char has to be `]`), so I recommend to always put `-` as
the last char.
Stefan
- Re: Emacs regexp scan (Sep 29), Paul Eggert, 2019/10/04
- Re: Emacs regexp scan (Sep 29), Paul Eggert, 2019/10/05
- Re: Emacs regexp scan (Sep 29), Paul Eggert, 2019/10/05
- Re: Emacs regexp scan (Sep 29), Eli Zaretskii, 2019/10/05
- Re: Emacs regexp scan (Sep 29), Paul Eggert, 2019/10/05
- Re: Emacs regexp scan (Sep 29), Eli Zaretskii, 2019/10/06
- Re: Emacs regexp scan (Sep 29), Paul Eggert, 2019/10/06
- Re: Emacs regexp scan (Sep 29), Eli Zaretskii, 2019/10/06
- Re: Emacs regexp scan (Sep 29), Paul Eggert, 2019/10/06