Warning: This is the manual of the legacy Guile 2.0 series. You may want to read the manual of the current stable series instead.
Next: LALR(1) Parsing, Previous: Input and Output, Up: API Reference [Contents][Index]
A regular expression (or regexp) is a pattern that describes a whole class of strings. A full description of regular expressions and their syntax is beyond the scope of this manual.
If your system does not include a POSIX regular expression library,
and you have not linked Guile with a third-party regexp library such
as Rx, these functions will not be available. You can tell whether
your Guile installation includes regular expression support by
checking whether (provided? 'regex)
returns true.
The following regexp and string matching features are provided by the
(ice-9 regex)
module. Before using the described functions,
you should load this module by executing (use-modules (ice-9
regex))
.
• Regexp Functions: | Functions that create and match regexps. | |
• Match Structures: | Finding what was matched by a regexp. | |
• Backslash Escapes: | Removing the special meaning of regexp meta-characters. |