[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
signature.asc
Description: PGP signature
- Re: rx.el sexp regexp syntax, (continued)
- Re: rx.el sexp regexp syntax, Eric Abrahamsen, 2018/06/03
- Re: rx.el sexp regexp syntax, Helmut Eller, 2018/06/03
- Re: rx.el sexp regexp syntax, Eric Abrahamsen, 2018/06/03
- Re: rx.el sexp regexp syntax, Helmut Eller, 2018/06/03
- Re: rx.el sexp regexp syntax, Eric Abrahamsen, 2018/06/03
- RE: rx.el sexp regexp syntax, Drew Adams, 2018/06/03
- Re: rx.el sexp regexp syntax, Eric Abrahamsen, 2018/06/03
- RE: rx.el sexp regexp syntax, Drew Adams, 2018/06/03
- Re: rx.el sexp regexp syntax, Stefan Monnier, 2018/06/04
- RE: rx.el sexp regexp syntax, Drew Adams, 2018/06/04
- Re: rx.el sexp regexp syntax,
Pierre Neidhardt <=