|
From: | Andreas Röhler |
Subject: | Re: re-search-forward strange match |
Date: | Mon, 21 May 2018 21:15:39 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 21.05.2018 19:40, Noam Postavsky wrote:
On 21 May 2018 at 13:32, Andreas Röhler <andreas.roehler@easy-emacs.de> wrote:Calling re-search-forward at string "foo1" like below, it matches at first char "o". (re-search-forward "#?[xo]?[a-f0-9]+" nil t 1)foo1It matches "f" for me. Not sure how you decided it matches "o".
Oh yeah, thanks, a good old mistake...
[Prev in Thread] | Current Thread | [Next in Thread] |