C and C++ SoftBench User's Guide
Using Regular Expressions
Pattern Matching
Appendix C 357
Exclude specified
values.
[^] When the caret (^)
appears first within the
list of bracketed valid
values, it is used to
exclude all of the
characters that follow
it. For example, to
match ab or any
character other than 5,
enter:
ab[^5]
Otherwise,^ represents
a literal character. For
example, to match ab^
or ab5, enter:
ab[5^]
Table C-1 Description of Special Characters in Regular Expressions
To… Use… Example