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

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

bug#17233: 24.3.50.1; wrong match-data


From: Andreas Röhler
Subject: bug#17233: 24.3.50.1; wrong match-data
Date: Thu, 10 Apr 2014 08:20:56 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Emacs -Q  24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2014-02-19

Cursor at beginning of string "asdf"

Evaluating
(looking-at "asdf")asdf

(match-string-no-properties 0) ==> "asdf"

korrect

(progn (looking-at "[1-3]")(message "%s" (match-string-no-properties 0))asdfs

Evaluating this should set match-data back to nil

It is still "asdf"






reply via email to

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