From: Ilya Shlyakhter <ilya_shl@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: why is this regexp invalid: "\\(?1:\\)"
Date: Wed, 1 Sep 2010 15:40:00 -0400 [thread overview]
Message-ID: <AANLkTinC1NwadC0iBkx+3pTwooTQ0ZaKPrFqLm5fBx0r@mail.gmail.com> (raw)
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
next reply other threads:[~2010-09-01 19:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-01 19:40 Ilya Shlyakhter [this message]
2010-09-02 18:27 ` why is this regexp invalid: "\\(?1:\\)" 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
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=AANLkTinC1NwadC0iBkx+3pTwooTQ0ZaKPrFqLm5fBx0r@mail.gmail.com \
--to=ilya_shl@alum.mit.edu \
--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).