[Top][All Lists]

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

Possible bug in `match-string` in

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

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 (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?


reply via email to

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