C and C++ SoftBench User's Guide

Using Regular Expressions
Pattern Matching
Appendix C 355
Match any
character
. To match a string
beginning with the
characters st, followed
by any character,
followed by ck, enter:
st.ck
In response, SoftBench
matches such strings as
stack or stocks. To
match a string that
includes a period, refer
to the description of the
backslash character (\).
Treat a special
character as a
literal.
\ Treats any special
characterfollowing itas
a literal character. For
example, to match a
string that includes a
period, such as st.,
enter:
st\.
Table C-1 Description of Special Characters in Regular Expressions
To… Use… Example