|
From: | Andreas Röhler |
Subject: | re-search-forward strange match |
Date: | Mon, 21 May 2018 19:32:37 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
(re-search-forward "#?[xo]?[a-f0-9]+" nil t 1)foo1Doesn't the regexp say a possible [xo] must be followed by at least one of "a-f0-9"? Where the second "o" is not a part...
Cheers, AndreasGNU Emacs 26.1 (build 1, i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2018-04-10
[Prev in Thread] | Current Thread | [Next in Thread] |