diff options
author | Diogo F. S. Ramos <dfsr@riseup.net> | 2014-03-26 00:27:21 -0300 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-06-19 17:39:41 +0200 |
commit | 4cf81b7ba07f9c1d7acffcfe145478e91df365e6 (patch) | |
tree | e46b38e7c803f54d76b4cf0422e72b2c3a486a68 /doc/ref/api-regex.texi | |
parent | ff040ee033a843f0574bd75e936ad03523443426 (diff) | |
download | guile-4cf81b7ba07f9c1d7acffcfe145478e91df365e6.tar.gz |
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
Diffstat (limited to 'doc/ref/api-regex.texi')
-rw-r--r-- | doc/ref/api-regex.texi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/ref/api-regex.texi b/doc/ref/api-regex.texi index f95eddbae..b14c2b39c 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 |