emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs regexp scan (Sep 29)


From: Eli Zaretskii
Subject: Re: Emacs regexp scan (Sep 29)
Date: Sat, 05 Oct 2019 19:03:22 +0300

> From: Stefan Monnier <address@hidden>
> Cc: Paul Eggert <address@hidden>,  address@hidden,  address@hidden
> Date: Sat, 05 Oct 2019 11:20:24 -0400
> 
> > 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.

That's unrelated.  I was talking about modifying _existing_ code, not
about writing new code.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]