diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-02-26 20:29:37 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-02-26 20:29:37 -0800 |
commit | 4cec37f7fbdda9457b8bdf14763b7b05e649028e (patch) | |
tree | f1b9a4926654caf02499a88afd4c6940a8ff1c7f | |
parent | 96c1fc995e4acbaf0e073e366236b7453deefacf (diff) | |
download | txr-4cec37f7fbdda9457b8bdf14763b7b05e649028e.tar.gz txr-4cec37f7fbdda9457b8bdf14763b7b05e649028e.tar.bz2 txr-4cec37f7fbdda9457b8bdf14763b7b05e649028e.zip |
doc: horizontal trailer.
* txr.1: Add missing documentation of the existence of
horizontal @(trailer) syntax.
-rw-r--r-- | txr.1 | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -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 |