2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
|
instead of just after it.
\n Skip until a line break of horizontal bar, and past it. If it is
followed by any more consecutive line breaks without anything else
in between, skips those ones too.
\d Follow by some text and then : and \ or just \ to skip to and find
the data in the string that has the same text. If it contains a
question mark then any single character is matched. Between : and \
you can have usual other matching commands such as [ and ].
+ Follow by one more character, skip past any number of them.
- Skip past any number of digits.
_ Skip past any number of spaces and line breaks.
< Rewind back to the beginning.
> Skip to the end.
# Successful match; the result is a number within the slice, converted
from a string (parsed as decimal) to a number.
$ Successful match; the result is the matched slice.
% Successful match; the result is the length of the matched slice.
A "delimited string" in this block is delimited by any printable
character on both sides (except a character with code less than 32).
(The above list of pattern codes maybe it isn't explained very well;
hopefully someone else know how to improve it better.)
|
|
>
>
|
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
|
instead of just after it.
\n Skip until a line break of horizontal bar, and past it. If it is
followed by any more consecutive line breaks without anything else
in between, skips those ones too.
\d Follow by some text and then : and \ or just \ to skip to and find
the data in the string that has the same text. If it contains a
question mark then any single character is matched. Between : and \
you can have usual other matching commands such as [ and ]. It can
also be ; instead of : optionally.
+ Follow by one more character, skip past any number of them.
- Skip past any number of digits.
_ Skip past any number of spaces and line breaks.
< Rewind back to the beginning.
> Skip to the end.
# Successful match; the result is a number within the slice, converted
from a string (parsed as decimal) to a number.
$ Successful match; the result is the matched slice.
% Successful match; the result is the length of the matched slice.
Z Trace (if both -t and -v switches are used).
A "delimited string" in this block is delimited by any printable
character on both sides (except a character with code less than 32).
(The above list of pattern codes maybe it isn't explained very well;
hopefully someone else know how to improve it better.)
|