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

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

Re: re-search-forward strange match


From: Noam Postavsky
Subject: Re: re-search-forward strange match
Date: Mon, 21 May 2018 13:40:17 -0400

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)foo1

It matches "f" for me. Not sure how you decided it matches "o".



reply via email to

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