[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regex-opt does not accept 'symbol as second arg?
From: |
Lennart Borgman |
Subject: |
Re: regex-opt does not accept 'symbol as second arg? |
Date: |
Sat, 11 Oct 2008 16:03:44 +0200 |
On Sat, Oct 11, 2008 at 3:01 PM, Nikolaj Schumacher <me@nschum.de> wrote:
> "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.
Yes, forgot to say that.