From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] In fold-matches, set regexp/notbol unless matching string start. Date: Wed, 26 Sep 2012 23:46:32 +0200 Message-ID: <87haqkpidj.fsf@gnu.org> References: <20120916062719.GA20685@yarrow> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1348696520 25574 80.91.229.3 (26 Sep 2012 21:55:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Sep 2012 21:55:20 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Sep 26 23:55:25 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TGzZl-0001ZU-LC for guile-devel@m.gmane.org; Wed, 26 Sep 2012 23:55:25 +0200 Original-Received: from localhost ([::1]:54710 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGzZg-0002uI-M6 for guile-devel@m.gmane.org; Wed, 26 Sep 2012 17:55:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGzZT-0002Kk-So for guile-devel@gnu.org; Wed, 26 Sep 2012 17:55:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGzZS-0005Mt-Hy for guile-devel@gnu.org; Wed, 26 Sep 2012 17:55:07 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:45176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGzZS-0005FX-8h for guile-devel@gnu.org; Wed, 26 Sep 2012 17:55:06 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TGzUZ-00069r-Ug for guile-devel@gnu.org; Wed, 26 Sep 2012 23:50:03 +0200 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Sep 2012 23:50:03 +0200 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Sep 2012 23:50:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 =?iso-8859-1?Q?Vend=E9miaire?= an 221 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:gDA07UW7HUK3GYOVyu+Y1uDnYa8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:14913 Archived-At: "Chris K. Jester-Young" skribis: > * module/ice-9/regex.scm (fold-matches): Set regexp/notbol if the > starting position is nonzero. > * test-suite/tests/regexp.test (fold-matches): Check that when > matching /^foo/ against "foofoofoofoo", only one match results. > --- > module/ice-9/regex.scm | 3 ++- > test-suite/tests/regexp.test | 9 ++++++++- > 2 files changed, 10 insertions(+), 2 deletions(-) Applied, thanks! Ludo’.