


NSR_REGEXP(5)                                       NSR_REGEXP(5)


NNAAMMEE
       nsr_regexp - regular expression syntax

DDEESSCCRRIIPPTTIIOONN
       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 eedd(1).

       A regular expression specifies a set of strings of charac-
       ters.   A  member  of  this  set  of strings is said to be
       matched by the regular expression.


       Form   Description

       1.     Any character except a  special  character  matches
              itself.  Special characters are the regular expres-
              sion delimiter plus a  backslash(\\),  brace([[),  or
              period(..)  and sometimes a carat(^^), asterik(**), or
              dollar symbol($$), depending upon the rules below.

       2.     A ..  matches any character.

       3.     A \\ followed by any character except a digit  or  a
              parenthesis matches that character.

       4.     A nonempty string ss, bracketed string [[ss]] (or [[^^ss]])
              matches any character in (or not in) ss.   In  ss,  \\
              has no special meaning and ]] may only appear as the
              first letter.   A  substring  aa--bb,  with  aaandbb  in
              ascending  ASCII  order,  stands  for the inclusive
              range of ASCII characters.

       5.     A regular expression of form 1 through  4  followed
              by ** matches a sequence of 0 or more matches of the
              regular expression.

       6.     A bracketed regular expression xx of form 1  through
              8, \\((xx\\)), matches what xx matches.

       7.     A  \\  followed  by  a digit nn matches a copy of the
              string that the bracketed regular expression begin-
              ning with the nnth \\((xx\\)) matched.

       8.     A regular expression xx of form 1 through 8 followed
              by a regular expression  yy  of  form  1  through  7
              matches  a  match  for xx followed by a match for yy,
              with the xx match being as long  as  possible  while
              still permitting a yy match.

       9.     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



NetWorker rt_1998_4Q.Build.MMaJrFcehra0l8_,0021000                        1





NSR_REGEXP(5)                                       NSR_REGEXP(5)


              a line.

       10.    A regular expression of form 1 through 9 picks  out
              the longest among the leftmost matches in a line.

       11.    An  empty  regular  expression stands for a copy of
              the last regular expression encountered.


SSEEEE AALLSSOO
       eedd(1), nnssrr__cclliieenntt(5).














































NetWorker rt_1998_4Q.Build.MMaJrFcehra0l8_,0021000                        2


