Man page of NSR_REGEXP
Section: File Formats (5)
Updated: Dec 11, 08
Return to Main Contents
nsr_regexp - regular expression syntax
This manual page describes the regular expression handling used in NetWorker.
The regular expressions recognized are described below. This description is
essentially the same as that for
A regular expression specifies a set of strings of characters.
A member of this set of strings is said to be matched by
the regular expression.
Any character except a special character matches itself.
Special characters are the regular expression delimiter plus a
and sometimes a
depending upon the rules below.
matches any character.
followed by any character except a digit or a parenthesis
matches that character.
A nonempty string
bracketed string [s]
character in (or not in)
has no special meaning
may only appear as the first letter.
in ascending ASCII order, stands for
the inclusive range of ASCII characters.
A regular expression of form 1 through 4 followed by
sequence of 0 or more matches of the regular expression.
A bracketed regular expression
of form 1 through 8,
followed by a digit
matches a copy of the string that the
bracketed regular expression beginning with the
A regular expression
of form 1 through 8 followed by a regular
of form 1 through 7
matches a match for
a match for
match being as long as possible
while still permitting a
A regular expression of form 1 through 8 preceded by
(or followed by
is constrained to matches that begin at the left
(or end at the right) end of a line.
A regular expression of form 1 through 9 picks out the longest among
the leftmost matches in a line.
An empty regular expression stands for a copy of the last
regular expression encountered.
- SEE ALSO
This document was created by
using the manual pages.
Time: 02:39:47 GMT, October 02, 2010