emacs-devel
[Top][All Lists]
Advanced

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

Re: rx.el sexp regexp syntax


From: João Távora
Subject: Re: rx.el sexp regexp syntax
Date: Thu, 31 May 2018 19:40:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

"Basil L. Contovounesios" <address@hidden> writes:

> "Basil L. Contovounesios" <address@hidden> writes:
>
>> Robert Pluim <address@hidden> writes:
>>
>>> João Távora <address@hidden> writes:
>>>
>>>> Drew Adams <address@hidden> writes:
>>>>
>>>>> Given such functions, I might use RX and the show-me-the-regexp
>>>>> function to create a regexp string, which I'd leave in the code,
>>>>> and I might use the show-me-the-RX function when I need to change
>>>>> such a string (or think about it).
>>>>
>>>> +1, FWIW. But are there such functions? </delurk>
>>>
>>> rx->regexp obviously exists, but Iʼm not aware of the reverse.
>>
>> At first glance, lex-parse-re from lex.el seems to fill the role, though
>                                      ^^^^^^
> I meant lex-parse-re.el, which is part of the lex package on ELPA.

And, notably, https://github.com/joddie/pcre2el looks pretty good too.

João



reply via email to

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