emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#11663: closed (Incorrect regexp match with explici


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#11663: closed (Incorrect regexp match with explicitly numbered blocks )
Date: Sun, 10 Jun 2012 08:58:02 +0000

Your message dated Sun, 10 Jun 2012 10:55:23 +0200
with message-id <address@hidden>
and subject line Re: bug#11663: Incorrect regexp match with explicitly numbered 
blocks
has caused the debbugs.gnu.org bug report #11663,
regarding Incorrect regexp match with explicitly numbered blocks 
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
11663: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11663
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Incorrect regexp match with explicitly numbered blocks Date: Sat, 09 Jun 2012 23:26:28 +0200 User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux)
Hi, 

Assume this buffer's text. M-x regexp-builder and try this regexp
"\\(?:^Hi\\)" which works correctly. Modify to "\\(?2:^Hi\\)" and you
will see that ^ is taken literally and does not match bol anymore.

I've tried this in emacs 23 and on GNU Emacs 24.1.50.1
(i686-pc-linux-gnu, GTK+ Version 3.4.2) of 2012-06-08 on lakoocha,
modified by Debian.

Vitalie.




--- End Message ---
--- Begin Message --- Subject: Re: bug#11663: Incorrect regexp match with explicitly numbered blocks Date: Sun, 10 Jun 2012 10:55:23 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)
Thanks for the report.  The problem was that at_begline_loc_p wasn't
updated when the `(?N:' syntax was added.  I have also fixed a problem
with preceding backslashes that causes the ^ in patterns like "\\\\(^a)"
to be incorrectly taken non-literally.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


--- End Message ---

reply via email to

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