C and C++ SoftBench User's Guide

Using Regular Expressions
Pattern Matching
Appendix C354
Pattern Matching
Table C-1 describes the following types of pattern matching:
Match any character.
Treat a special character as a literal.
Specify a list of matching values.
Match the beginning of a line.
Match the end of a line.
Match entire lines.
Exclude specified values.
Match a range of values.
Repeat a single character any number of times.
Repeat an expression any number of times.
Treat a composite expression within parentheses as a single
expression to be repeated any number of times.
Table C-1 Description of Special Characters in Regular Expressions
To… Use… Example
Match a particular
string
match_string
To match the string st,
enter:
st
In response, SoftBench
matches any string
containingthestringst
(forexample,stock and
lists).