From: Tom <adatgyujto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Numbered regexps throw invalid regex error
Date: Wed, 25 Jan 2012 10:17:26 +0000 (UTC) [thread overview]
Message-ID: <loom.20120125T111258-139@post.gmane.org> (raw)
According to the docs:
This construct allows you to force a particular
group number. There is no particular restriction on the numbering,
but when I try this:
(looking-at "\\(a\\(?1:b\\)\\)")
then it throws an error.
I know it's possibly a collision with the containing group's number
and I can overcome it by using a larger number, but the doc says
I can use it to force a group number, so why does it throw an error
then?
Is it a bug? I tried it with GNU Emacs 23.2.1
next reply other threads:[~2012-01-25 10:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-25 10:17 Tom [this message]
2012-01-25 17:21 ` Numbered regexps throw invalid regex error Andreas Röhler
2012-01-25 17:51 ` Tom
2012-01-25 20:02 ` Andreas Röhler
2012-01-25 20:14 ` Tom
2012-01-25 20:37 ` Andreas Röhler
2012-01-26 8:30 ` Tom
2012-01-26 9:29 ` Andreas Röhler
2012-01-26 11:52 ` Tim Landscheidt
2012-01-26 14:36 ` Tom
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=loom.20120125T111258-139@post.gmane.org \
--to=adatgyujto@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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).