From: "Lennart Borgman" <lennart.borgman@gmail.com>
To: "Nikolaj Schumacher" <me@nschum.de>
Cc: help-gnu-emacs@gnu.org, Xah <xahlee@gmail.com>
Subject: Re: regex-opt does not accept 'symbol as second arg?
Date: Sat, 11 Oct 2008 16:03:44 +0200 [thread overview]
Message-ID: <e01d8a50810110703o3bb032c7s5b0eb5d1ccc5163e@mail.gmail.com> (raw)
In-Reply-To: <m2y70v9tgr.fsf@nschum.de>
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.
next prev parent reply other threads:[~2008-10-11 14:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-11 10:02 regex-opt does not accept 'symbol as second arg? Xah
2008-10-11 11:41 ` Lennart Borgman
2008-10-11 12:10 ` Nikolaj Schumacher
2008-10-11 12:20 ` Lennart Borgman
2008-10-11 13:01 ` Nikolaj Schumacher
2008-10-11 14:03 ` Lennart Borgman [this message]
[not found] ` <mailman.850.1223727025.25473.help-gnu-emacs@gnu.org>
2008-10-12 1:45 ` Tim X
2008-10-12 10:17 ` Nikolaj Schumacher
[not found] ` <mailman.880.1223806646.25473.help-gnu-emacs@gnu.org>
2008-10-13 7:48 ` Tim X
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e01d8a50810110703o3bb032c7s5b0eb5d1ccc5163e@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=me@nschum.de \
--cc=xahlee@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).