emacs-devel
[Top][All Lists]
Advanced

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

Re: APL mode


From: Ivan Andrus
Subject: Re: APL mode
Date: Sun, 13 Oct 2013 10:11:34 -0600

On Oct 13, 2013, at 8:04 AM, Rustom Mody <address@hidden> wrote:
> On Sun, Oct 13, 2013 at 4:40 PM, Stephen J. Turnbull <address@hidden> wrote:
>> Rustom Mody writes:
>> 
>>> Not to say that I am afraid of CFGs -- more afraid of regexps with 16
>>> backslashes in a row!!
>> 
>> XEmacsen have rawstrings (couldn't resist), but the real answer is to
>> use one of the regexp constructor packages if you don't feel like
>> dealing the the unfortunate consequences of the traditional use of the
>> same character to indicate string escapes and regexp constructs too.
> 
> Ok I find something called rx.
> I think I need something like rx-inverse -- something which will give
> me an sexp interpretation of an ugly re.

In the pcre2el package (available in MELPA or marmalade) you will find 
`rxt-elisp-to-rx' which does just that.  I've only used it a little but it 
seems to work well.

-Ivan


reply via email to

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