diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-12-30 17:00:02 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-12-30 17:00:02 -0800 |
commit | c0089f9d62ac6cd1ce7067afb21d7ebee8b788e2 (patch) | |
tree | 86d4ab0ea4c44cbd12e578eeb6e173b2f87d2d79 | |
parent | 4b29e91a09e09ce66060e2be30e1707943e49a85 (diff) | |
download | txr-c0089f9d62ac6cd1ce7067afb21d7ebee8b788e2.tar.gz txr-c0089f9d62ac6cd1ce7067afb21d7ebee8b788e2.tar.bz2 txr-c0089f9d62ac6cd1ce7067afb21d7ebee8b788e2.zip |
doc: clarify @(repeat) is @(collect :vars nil)
* txr.1: When @(repeat) is first mentioned near the top
of the @(collect) documentation, say right away what
exactly it means.
-rw-r--r-- | txr.1 | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -5933,7 +5933,7 @@ The .code repeat symbol may be specified instead of .codn collect , -which changes the meaning, see below: +which changes the meaning: .verb @(repeat) @@ -5941,6 +5941,16 @@ which changes the meaning, see below: @(end) .brev +The +.code @(repeat) +syntax is equivalent to +.code "@(collect :vars nil)" +and doesn't take the +.code :vars +clause. It accepts other +.code collect +parameters. + The subquery is matched repeatedly, starting at the current line. If it fails to match, it is tried starting at the subsequent line. If it matches successfully, it is tried at the line following the |