unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Numbered regexps throw invalid regex error
@ 2012-01-25 10:17 Tom
  2012-01-25 17:21 ` Andreas Röhler
  0 siblings, 1 reply; 10+ messages in thread
From: Tom @ 2012-01-25 10:17 UTC (permalink / raw)
  To: help-gnu-emacs

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






^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-01-26 14:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-25 10:17 Numbered regexps throw invalid regex error Tom
2012-01-25 17:21 ` 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

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).