From 60d9b5fd44f246908955d5f58ea872536ab14e79 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 24 Feb 2012 04:54:59 -0800 Subject: Clarification in until/last. --- txr.1 | 13 +++++++------ 1 file 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: -- cgit v1.2.3