help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

why is this regexp invalid: "\\(?1:\\)"


From: Ilya Shlyakhter
Subject: why is this regexp invalid: "\\(?1:\\)"
Date: Wed, 1 Sep 2010 15:40:00 -0400

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]