[Top][All Lists]

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

Re: modern regexes in emacs

From: Stefan Monnier
Subject: Re: modern regexes in emacs
Date: Fri, 15 Feb 2019 14:37:18 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> > (1) The syntax of PCRE -- | () {} instead of \| \(\) \{\} etc --
>> > but restricted to the set of features of the Emacs regexp engine.
>> Modern syntax is the main one.
> Such use of "modern" always gets on my nerves.  "Modern" is not the same
> as "good", and likely has a very weak correlation with it.  Why aren't we
> all using "modern" editors, for example?

I much prefer the |(){} syntax over the current \|\(\)\{\}.
This said, such a switch would probably be rather painful.
It probably make sense to do it at the same time we switch to


reply via email to

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