[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: |
Sun, 17 Feb 2019 15:47:24 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> Would this even be possible? I can imagine a whole lot of packages breaking
> if the regexp syntax changed, and changing it just for the user input in
> interactive functions looks a bit sketchy.
Other than isearch, most other commands should (ideally) read their
regexps interactively with `read-regexp`, so it should be easy for
a third party package to advise `read-regexp` so it accepts the PCRE
syntax (or the RX syntax, ...) and then converts it to Emacs's
own syntax. Shouldn't break any package at all.
Stefan
- Re: modern regexes in emacs, (continued)
- 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 <=
- Re: modern regexes in emacs, Philippe Vaucher, 2019/02/18
- Re: modern regexes in emacs, Mattias Engdegård, 2019/02/18