summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-02-24 04:54:59 -0800
committerKaz Kylheku <kaz@kylheku.com>2012-02-24 04:54:59 -0800
commit60d9b5fd44f246908955d5f58ea872536ab14e79 (patch)
tree3086c10f5e673c17ea859cf367457994472689fb /txr.1
parent35f988e31dcfb869b252f5946cea2a0fd4db3d49 (diff)
downloadtxr-60d9b5fd44f246908955d5f58ea872536ab14e79.tar.gz
txr-60d9b5fd44f246908955d5f58ea872536ab14e79.tar.bz2
txr-60d9b5fd44f246908955d5f58ea872536ab14e79.zip
Clarification in until/last.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.113
1 files changed, 7 insertions, 6 deletions
diff --git a/txr.1 b/txr.1
index 55763a22..002df127 100644
--- a/txr.1
+++ b/txr.1
@@ -1976,14 +1976,15 @@ continue matching in another file by means of @(next).
If an until/last clause is specified, the collection stops when that clause
matches at the current position.
-If it is an until clause, no bindings are collected at that position, even if
-the main clause matches at that position also. Moreover, the position is not
-advanced. The remainder of the query begins matching at that position.
+If an until clause terminates collect, no bindings are collected at that
+position, even if the main clause matches at that position also. Moreover, the
+position is not advanced. The remainder of the query begins matching at that
+position.
-If it is a last clause matches, the behavior is different. Any bindings
+If a last clause terminates collect, the behavior is different. Any bindings
captured by the main clause are thrown away, just like with the until clause.
-However, the bindings in the last clause itself survive, and the position
-is advanced to skip over that material.
+However, the bindings in the last clause itself survive, and the position is
+advanced to skip over that material.
Example: