unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* why is this regexp invalid: "\\(?1:\\)"
@ 2010-09-01 19:40 Ilya Shlyakhter
  2010-09-02 18:27 ` Joel James Adamson
       [not found] ` <mailman.0.1283452083.4022.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Ilya Shlyakhter @ 2010-09-01 19:40 UTC (permalink / raw)
  To: help-gnu-emacs

dear emacs users,

can you help me understand why the following simple
expression gives an "Invalid regexp" error:

(string-match "\\(?1:\\)" "")

while removing the explicit group number gives no error:

(string-match "\\(?:\\)" "")

thanks,

ilya



^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.2.1283370006.27482.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2010-09-03 11:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-01 19:40 why is this regexp invalid: "\\(?1:\\)" Ilya Shlyakhter
2010-09-02 18:27 ` Joel James Adamson
     [not found] ` <mailman.0.1283452083.4022.help-gnu-emacs@gnu.org>
2010-09-02 20:15   ` Pascal J. Bourguignon
2010-09-03  7:01     ` David Kastrup
2010-09-03 11:51       ` Pascal J. Bourguignon
     [not found] <mailman.2.1283370006.27482.help-gnu-emacs@gnu.org>
2010-09-02  8:17 ` Stefan Monnier

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