[Top][All Lists]

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

Re: rx.el sexp regexp syntax

From: Eric Abrahamsen
Subject: Re: rx.el sexp regexp syntax
Date: Fri, 25 May 2018 14:51:58 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Clément Pit-Claudel <address@hidden> writes:

> On 2018-05-25 14:56, Eric Abrahamsen wrote:
>> A regexp that would make my eyes cross (with
>> "\\(\\(\\(") could be perfectly comprehensible to someone else.
>> Personally, I'd use rx with more than two nested layers of
>> group-capture, but that's only me.
> Shameless advertisement: https://github.com/cpitclaudel/easy-escape
> It's like prettify-symbols-mode, for regexps; it shows grouping
> parentheses in a different color, and hides the backslashes.

I know, a few hours ago I went hunting in the repos for relevant
packages, and found yours. It certainly helps! Though I'd still rather
have something that actually transforms the regexps at compile time...

reply via email to

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