From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Diogo F. S. Ramos" Newsgroups: gmane.lisp.guile.devel Subject: [PATCH 2/2] Add reference to the lack of "non-greedy" variants Date: Wed, 26 Mar 2014 00:27:21 -0300 Message-ID: <1395804441-29214-2-git-send-email-dfsr@riseup.net> References: <1395804441-29214-1-git-send-email-dfsr@riseup.net> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1395804475 469 80.91.229.3 (26 Mar 2014 03:27:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2014 03:27:55 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 26 04:28:04 2014 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 1WSeVX-0007oy-Pt for guile-devel@m.gmane.org; Wed, 26 Mar 2014 04:28:03 +0100 Original-Received: from localhost ([::1]:45373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSeVX-0000up-CF for guile-devel@m.gmane.org; Tue, 25 Mar 2014 23:28:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSeVK-0000cg-VO for guile-devel@gnu.org; Tue, 25 Mar 2014 23:27:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSeVE-0006Dd-UO for guile-devel@gnu.org; Tue, 25 Mar 2014 23:27:50 -0400 Original-Received: from mx1.riseup.net ([198.252.153.129]:46762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSeVE-0006Be-Fi for guile-devel@gnu.org; Tue, 25 Mar 2014 23:27:44 -0400 Original-Received: from fulvetta.riseup.net (fulvetta-pn.riseup.net [10.0.1.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 10B654D054 for ; Tue, 25 Mar 2014 20:27:44 -0700 (PDT) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: dfsr@fulvetta.riseup.net) with ESMTPSA id 3F88E2B5 X-Mailer: git-send-email 1.9.1 In-Reply-To: <1395804441-29214-1-git-send-email-dfsr@riseup.net> X-Virus-Scanned: clamav-milter 0.98.1 at mx1 X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 198.252.153.129 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:17022 Archived-At: While describing special characters, remind the reader that "non-greedy" variants are not supported. They might not be familiar with POSIX extended regular expression and expect it to work. * doc/ref/api-regex.texi: Add "non-greedy" observation --- doc/ref/api-regex.texi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/ref/api-regex.texi b/doc/ref/api-regex.texi index f95eddb..b14c2b3 100644 --- a/doc/ref/api-regex.texi +++ b/doc/ref/api-regex.texi @@ -38,10 +38,11 @@ regex))}. @node Regexp Functions @subsection Regexp Functions -By default, Guile supports POSIX extended regular expressions. -That means that the characters @samp{(}, @samp{)}, @samp{+} and -@samp{?} are special, and must be escaped if you wish to match the -literal characters. +By default, Guile supports POSIX extended regular expressions. That +means that the characters @samp{(}, @samp{)}, @samp{+} and @samp{?} are +special, and must be escaped if you wish to match the literal characters +and there is no support for ``non-greedy'' variants of @samp{*}, +@samp{+} or @samp{?}. This regular expression interface was modeled after that implemented by SCSH, the Scheme Shell. It is intended to be -- 1.9.1