summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.126
1 files changed, 26 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 34289dd4..e1dd2ab7 100644
--- a/txr.1
+++ b/txr.1
@@ -3908,6 +3908,32 @@ cause
.code @(collect)
to match partially overlapping regions.
+Trailer can be used in vertical context:
+
+.cblk
+.mets @(trailer)
+.mets < directives
+.mets ...
+.cble
+
+or horizontal:
+
+.cblk
+.mets @(trailer) < directives ...
+.cble
+
+A vertical
+.code trailer
+prevents the vertical input position from
+advancing as it is matched by
+.metn directives ,
+whereas a horizontal
+.code trailer
+prevents the horizontal position from advancing. In other words,
+.code trailer
+performs matching without consuming the input, providing a
+look-ahead mechanism.
+
Example:
.cblk