[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
- APL mode, Rustom Mody, 2013/10/12
- Re: APL mode, Thien-Thi Nguyen, 2013/10/12
- Re: APL mode, Stefan Monnier, 2013/10/12
- Re: APL mode, Rustom Mody, 2013/10/12
- Re: APL mode, Stephen J. Turnbull, 2013/10/13
- Re: APL mode, Rustom Mody, 2013/10/13
- Re: APL mode, Stephen J. Turnbull, 2013/10/13
- Re: APL mode, Rustom Mody, 2013/10/13
- Re: APL mode, Stephen J. Turnbull, 2013/10/13
- Re: APL mode,
Ivan Andrus <=
- Re: APL mode, Stefan Monnier, 2013/10/15
Re: APL mode, RĂ¼diger Sonderfeld, 2013/10/13