[Top][All Lists]

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

Re: rx.el sexp regexp syntax

From: Basil L. Contovounesios
Subject: Re: rx.el sexp regexp syntax
Date: Thu, 31 May 2018 17:48:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

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
its output might need a little tweaking to be completely rx-compatible.


reply via email to

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