diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-09-23 06:38:58 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-09-23 06:38:58 -0700 |
commit | 6cb0284cc3fe66c4c20a09a651ba897ed6e2f71e (patch) | |
tree | 39144c679b96bda73e55802239753906816a16ce /txr.1 | |
parent | 93e3d055337822ceff671710ea0611e3bbf46ae2 (diff) | |
download | txr-6cb0284cc3fe66c4c20a09a651ba897ed6e2f71e.tar.gz txr-6cb0284cc3fe66c4c20a09a651ba897ed6e2f71e.tar.bz2 txr-6cb0284cc3fe66c4c20a09a651ba897ed6e2f71e.zip |
doc: add regex intro paragraph.
* txr.1: New paragraph added under the Regular Expressions Library
minor section.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -31724,6 +31724,19 @@ non-deterministically: .cble .SS* Regular Expression Library + +\*(TX provides a "pure" regular expression implementation based on automata +theory, which equates regular expressions, finite automata and sets of strings. +A regular expression determines whether or not a string of input characters +belongs to a set. \*(TX regular expressions do not support features such +as as "anchoring" a match to the start or end of a string, or capture of +parenthesized sub-expression matches into registers. Parenthesis syntax +denotes only grouping, with no additional meaning. + +The semantics of whether a regular expression is used for a substring +search, prefix match, suffix match, spring splitting and so forth comes from +the functions which use regular expressions to perform these operations. + .NP* Regular Expressions as Functions .synb .mets >> [ regex >> [ start <> [ from-end ]] < string ] |