summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-10-30 17:34:12 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-10-30 17:34:12 -0800
commit4b493073a6deafa6b4ac6386a0eab034e0e20082 (patch)
treeeb2dfcef8f75ff7cceeda12e841623e0caa28771 /txr.1
parentd79ac8185c3533a5ea89c4a7e12b01f64f349e30 (diff)
downloadtxr-4b493073a6deafa6b4ac6386a0eab034e0e20082.tar.gz
txr-4b493073a6deafa6b4ac6386a0eab034e0e20082.tar.bz2
txr-4b493073a6deafa6b4ac6386a0eab034e0e20082.zip
Trivial change allows regexps to be bound to variables,
and used for matching. This Just Works because of the way match_line treats variables.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.15
1 files changed, 3 insertions, 2 deletions
diff --git a/txr.1 b/txr.1
index d4cd6183..4aea4a82 100644
--- a/txr.1
+++ b/txr.1
@@ -1419,7 +1419,8 @@ to match B, or the bind fails. Matching means that either
found as substructure within the other.
The right hand side does not have to be a variable. It may be some other
-object, like a string, or list of strings, et cetera. For instance
+object, like a string, quasiliteral, regexp, or list of strings, et cetera. For
+instance
@(bind A "ab\tc")
@@ -1883,7 +1884,7 @@ matches an input line "begin".
A function is invoked by compound directive whose first symbol is the name of
that function. Additional elements in the directive are the arguments.
Arguments may be symbols, or other objects like string and character
-literals.
+literals, quasiliterals ore regular expressions.
Example: