[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regex-opt does not accept 'symbol as second arg?
From: |
Nikolaj Schumacher |
Subject: |
Re: regex-opt does not accept 'symbol as second arg? |
Date: |
Sat, 11 Oct 2008 15:01:08 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) |
"Lennart Borgman" <lennart.borgman@gmail.com> wrote:
>>> But one thing I think would be useful is to be able to use numbers for
>>> the PAREN argument to get an explicitly numbered regexp group back.
>>
>> Is it possible to modify the numbering at all? If so, how?
>
> See (info "(elisp) Regexp Backslash")
>
> `\(?NUM: ... \)'
> is the "explicitly numbered group" construct.
I was actually looking at the same info page when writing. I assume
this an Emacs 23 feature, then.
regards,
Nikolaj Schumacher