summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--txr.15
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0263247e..12f53050 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2011-10-08 Kaz Kylheku <kaz@kylheku.com>
+ * txr.1: Augment example of @/.*/ being used to skip to the
+ end of the line with @(skip) which is now better style,
+ since it avoids reaching for regexes.
+
+2011-10-08 Kaz Kylheku <kaz@kylheku.com>
+
* match.c (match_line): Skip directive bugfix. If skip is the
last item on the line, it must match the whole line by returning
success.
diff --git a/txr.1 b/txr.1
index d104be0d..84b73a21 100644
--- a/txr.1
+++ b/txr.1
@@ -362,6 +362,11 @@ regular expression @/.*/ can be used. Example:
In this example, the query matches, since the regular expression
matches the string "of data". (See Regular Expressions section below).
+Another way to do this is:
+
+ Query: I can carry nearly eighty gigs@(skip)
+
+
.SS Special Characters in Text
Control characters may be embedded directly in a query (with the exception of