[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 02/02: Add reference to the lack of "non-greedy" variant
From: |
Andy Wingo |
Subject: |
[Guile-commits] 02/02: Add reference to the lack of "non-greedy" variants |
Date: |
Sun, 19 Jun 2016 15:41:57 +0000 (UTC) |
wingo pushed a commit to branch master
in repository guile.
commit 4cf81b7ba07f9c1d7acffcfe145478e91df365e6
Author: Diogo F. S. Ramos <address@hidden>
Date: Wed Mar 26 00:27:21 2014 -0300
Add reference to the lack of "non-greedy" variants
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
address@hidden 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{*},
address@hidden or @samp{?}.
This regular expression interface was modeled after that
implemented by SCSH, the Scheme Shell. It is intended to be