773| External Ser vicesInterface DellPowerConnect W- Series ArubaOS 6.2 | User Guide
Operator Description Sample Result
^ Match at the beginning of a line s/^/blah/ Inserts“blah” at the beginning of the
line
$ Matchat the end of a line s/$/blah/ Inserts“blah”at the end of the line
\< Matchat the beginning of a word s/\</blah/ Inserts“blah” at thebegi nning of the
word
egrep“\<blah”
sample.txt
Matches
blahfield
, etc.
\> Matchat the end of a word s/\>/blah/ Inserts“blah” at the end ofthe word
egrep“\>blah”
sample.txt
Matches
soupblah
, etc.
\b Matchat the beginning or end of a
word
egrep“\bblah”
sample.txt
Matches
blahcake
and
countblah
\B Matchin the middle of a word egrep“\Bblah”
sample.txt
Matches
sublahper
, etc.

Table35 2:

Regularexpressionanchors

References
This implementation is based, in part, on the following resources:
lLonvick, C., “The BSD syslog Protocol”, RFC3164, August 2001
lRegularexpression (regex) reference:http://en.wikipedia.org/wiki/Regular_expression
lRegex syntax summary:http://www.greenend.org.uk/rjk/2002/06/regexp.html
lBasic regularexpression (BRE) syntax: http://builder.com.com/5100-6372-1050915.html