From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.help Subject: Re: re-search-forward strange match Date: Mon, 21 May 2018 21:15:39 +0200 Message-ID: <69fd3c07-fe94-17d3-7d17-e49a1f5ca9b7@easy-emacs.de> References: <8191a66f-0b59-0ea7-d9bd-36c5edbd85da@easy-emacs.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1526929953 17331 195.159.176.226 (21 May 2018 19:12:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 May 2018 19:12:33 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 Cc: Help Gnu Emacs mailing list To: Noam Postavsky Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 21 21:12:29 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKqEN-0004Ld-Dz for geh-help-gnu-emacs@m.gmane.org; Mon, 21 May 2018 21:12:27 +0200 Original-Received: from localhost ([::1]:52087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKqGS-00019p-B3 for geh-help-gnu-emacs@m.gmane.org; Mon, 21 May 2018 15:14:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKqG1-00019k-RR for help-gnu-emacs@gnu.org; Mon, 21 May 2018 15:14:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKqFy-0002Fd-J6 for help-gnu-emacs@gnu.org; Mon, 21 May 2018 15:14:09 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.74]:37811) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fKqFy-0002Ek-8J for help-gnu-emacs@gnu.org; Mon, 21 May 2018 15:14:06 -0400 Original-Received: from [192.168.178.35] ([188.106.79.221]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.183]) with ESMTPSA (Nemesis) id 0Lkxnh-1fv0YL0G17-00ap23; Mon, 21 May 2018 21:14:04 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:r54u2g+t8qJgQlNiwWYQBNJSxNUgOXSQfVcUdTCmY5f8XAuxRBA kc7b5T/bW0S1MtbwBlLE+N24mayYhiQY+oI72JFc8LluuPit80h4d0z8o20HMwQ+WUat0RV qFiDduyhF4Ml5DrgLOEY2JJ7BoF8E4ur4739SPSsYeFczcu2sp9aLilNhNOI16g0B+rMcoy 07kethsIbbuIQ0t1rWatg== X-UI-Out-Filterresults: notjunk:1;V01:K0:4D5vMkeFRgI=:SyMNDQw5s41phE5jhldsi9 SRmaLkA2lDbrGiNO1GT2Ho44XWS1mBe2LQ7S1U67KquhCMpNC7BBSckotl7KrmHXfI1rsELjs B81ma8mK+bDEpDyCMbovzY75dVjX9O5bLbrFeiK5hAjE0RUO70FjoywBoTc4yKEuoui9G8tRz 1IE+kC2WIXUOM81qK2Ajr0s94v3sRZTZrsqvI9VFzN9jrOVoACqemQBq22h3/KGFDvaZf17VF eW8xmmhwL+eaqaezvUqUTISqZ5VtVhKW+Co6YNcm1/PYSpnb8KDtXDdjX5U8RWzMCC8CyCO59 ZZRGgVCsu8iv9yZXo/h4Xfvupj+LM79WOXLc9ufKjT0ODO8SXmZ3sDlMTFQgfOso9kc0E+9Tc G7UIFw2a1pct8xqVRyXP/0XTz7uHZbkedmB8oCzP9+fIBgQKW6SZWY2YIWsfC3HcxA/YNU+1L eJfuOmxHbvtYk00lPkPexCo8XjS4+8U0otrLw2XF/FbE2vEFvhJjhYDuqDDICATPuWp3g8abv 9Ekb21D9rpWkkjBNxczsZ1aStGPS758/uJb68VaH+kjePq3mR7OG322dfbV4NFkPyEe73cy5R +eLkpall/AWTLrBp64RUfOF/axi2Yrj7Bg6dODQD81fi+1/vYBtKTjPAW7aNe0wy/tZqWpIRO tJFRu0eD+8nruVtLnt60BCJfeETCqPBeefO1hJQ1SIOgS2IcU++761YDHkAoIDmi7tMaldan/ XbqBLl/f5hA7WjNK X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.72.192.74 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116797 Archived-At: On 21.05.2018 19:40, Noam Postavsky wrote: > On 21 May 2018 at 13:32, Andreas Röhler 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". > Oh yeah, thanks, a good old mistake...