C and C++ SoftBench User's Guide
Using Regular Expressions
Pattern Matching
Appendix C360
Treat a composite
expression within
parenthesis as a
single expression
to be repeated
(
composite_expres
sion
)*
To match ab followed by
a string repeated any
number of times (for
example, ab1, ab2ab3,
ab2ab3,ab4), enter:
(ab[0-9])*
Table C-1 Description of Special Characters in Regular Expressions
To… Use… Example