summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-09-23 06:38:58 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-09-23 06:38:58 -0700
commit6cb0284cc3fe66c4c20a09a651ba897ed6e2f71e (patch)
tree39144c679b96bda73e55802239753906816a16ce /txr.1
parent93e3d055337822ceff671710ea0611e3bbf46ae2 (diff)
downloadtxr-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.113
1 files changed, 13 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 91b1a4a0..e049b259 100644
--- a/txr.1
+++ b/txr.1
@@ -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 ]