[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: modern regexes in emacs
From: |
Eli Zaretskii |
Subject: |
Re: modern regexes in emacs |
Date: |
Fri, 15 Feb 2019 21:52:04 +0200 |
> From: Clément Pit-Claudel <address@hidden>
> Date: Fri, 15 Feb 2019 13:46:23 -0500
>
> On 15/02/2019 13.36, Eli Zaretskii wrote:
> > I proposed to have a separate set of functions that will accept PCRE
> > syntax. That would allow everyone to have what they want: you to use
> > the "classic" regexps, and those who want PCRE to have that. Where's
> > the problem with that?
>
> I think that solution doesn't let you pass regexps using fancy PCRE features
> to existing code through defvars and defcustoms. As a concrete example,
> sometimes assertions would be useful in regexps that define outlines, or in
> syntax highlighting, or in comment marker definitions.
Then those who want that will need to come up with either a function
that converts PCRE to the traditional syntax, or invent new functions
for outlines, syntax highlighting, etc. for that. You cannot
seriously propose a global setting that will switch to PCRE syntax, as
that will cause a lot of breakage.
The original motivation was to provide PCRE in _commands_. Suddenly
we are talking about using PCRE everywhere? Please hold your horses.
- Re: modern regexes in emacs, (continued)
- Re: modern regexes in emacs, Eli Zaretskii, 2019/02/26
- Re: modern regexes in emacs, Richard Stallman, 2019/02/26
- Re: modern regexes in emacs, Elias Mårtenson, 2019/02/25
- Re: modern regexes in emacs, Mattias Engdegård, 2019/02/26
- Re: modern regexes in emacs, Perry E. Metzger, 2019/02/15
- Re: modern regexes in emacs, Juri Linkov, 2019/02/17
- Re: modern regexes in emacs, Stefan Monnier, 2019/02/17
- Re: modern regexes in emacs, Clément Pit-Claudel, 2019/02/15
- Re: modern regexes in emacs,
Eli Zaretskii <=
- Re: modern regexes in emacs, Clément Pit-Claudel, 2019/02/15
- Re: modern regexes in emacs, Alan Mackenzie, 2019/02/15
- Re: modern regexes in emacs, Eli Zaretskii, 2019/02/15
- Re: modern regexes in emacs, Alan Mackenzie, 2019/02/15
- Re: modern regexes in emacs, Perry E. Metzger, 2019/02/15
- Re: modern regexes in emacs, Clément Pit-Claudel, 2019/02/15
- Re: modern regexes in emacs, Stefan Monnier, 2019/02/15
- Re: modern regexes in emacs, Van L, 2019/02/19
- Re: modern regexes in emacs, Stefan Monnier, 2019/02/17
- Re: modern regexes in emacs, Philippe Vaucher, 2019/02/18