mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 14:30:34 +02:00
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
This commit is contained in:
parent
ff040ee033
commit
4cf81b7ba0
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue