diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | txr.1 | 5 |
2 files changed, 11 insertions, 0 deletions
@@ -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. @@ -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 |