[Top][All Lists]

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

Re: rx.el sexp regexp syntax

From: Pierre Neidhardt
Subject: Re: rx.el sexp regexp syntax
Date: Mon, 04 Jun 2018 17:44:39 +0200
User-agent: mu4e 1.0; emacs 26.1

Drew Adams <address@hidden> writes:

>> For such regexps, the exact syntax (PCRE, BRE, ERE, RX, ...) in use has
>> fairly little importance: if written "raw" as above, it will be
>> indecipherable in any case.
>> To make it readable, you need to add human-level explanations
>> e.g. by adding comments and naming sub-elements.  Which is indeed what
>> is done in the source code:...
> Agreed.

The rx language seems to have space to add support for variables.  Then
rx would really shine for such expressions: it would make it very
natural to explicitly name expressions and re-use them.

Pierre Neidhardt

Attachment: signature.asc
Description: PGP signature

reply via email to

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