emacs-devel
[Top][All Lists]
Advanced

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

Possible bug in `match-string` in 24.4.50.18?


From: Alexis
Subject: Possible bug in `match-string` in 24.4.50.18?
Date: Sun, 25 May 2014 14:33:22 +1000
User-agent: mu4e 0.9.9.6pre3; emacs 24.4.50.18

Hi all,

i couldn't see any reference to this issue in the bug-gnu-emacs archives of
recent weeks.

Take the following code:

    (setq address "mailto:address@hidden";)
    (setq re "mailto")
    (string-match re address)
    (match-string 0 address)

In 24.3, the call to `string-match` correctly returns 0, and the call to
`match-string` correctly returns "mailto".

In 24.4.50.18 (more specifically, git commit
08005cbfff9227ac73cbee5f3f5afa65f8c27849), the call to `string-match`
correctly returns 0, but the call to `match-string` consistently returns
"m" instead of "mailto".

Am i doing something wrong, is there an issue with my local setup, or is
this a bug?


Alexis.



reply via email to

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