diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-10-08 10:55:45 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-10-08 10:55:45 -0700 |
commit | 9b352a96e064d5d201e2d448f9650a0dd9d67b68 (patch) | |
tree | 1041952147ebe0ea7b46977571846a9ec3333100 | |
parent | 6926c639bd4df81a5144b1c87cf274163f0293c2 (diff) | |
download | txr-9b352a96e064d5d201e2d448f9650a0dd9d67b68.tar.gz txr-9b352a96e064d5d201e2d448f9650a0dd9d67b68.tar.bz2 txr-9b352a96e064d5d201e2d448f9650a0dd9d67b68.zip |
* 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.
-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 |