[Top][All Lists]

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

Re: [ELPA] New package: xr

From: Clément Pit-Claudel
Subject: Re: [ELPA] New package: xr
Date: Fri, 1 Feb 2019 10:25:12 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 01/02/2019 09.09, Mattias Engdegård wrote:
> This is a proposal to add xr to ELPA.
> The xr package is the inverse of rx: it transforms an Emacs regexp string 
> into rx form. Its purpose is to assist in migration to rx-style regexps, 
> something I think a lot more people should do, and help understanding 
> difficult regexps.
> It is written to take all features and oddities in the Emacs regexp notation 
> into account. This includes undocumented parts, since such regexps are found 
> in actual code.
> The package consists of a single file, right now at 
> https://github.com/mattiase/xr . It is something I have had lying around for 
> some time and found constantly useful, and have now had the opportunity to 
> give some polish.

Looks great. Here's a feature request: can you combine this with a font-lock 
rule to display existing regexps in rx syntax?  Something like 
prettify-symbols-mode, but for regular expressions.


reply via email to

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