6.2.3 The . Character
The next special character we will consider is the
.
character. The
.
will match any valid character. As an example, consider the
regular expression
a.c
. This regular expression will match any
string that contains an
a
and a
c
, with any possible character
in between. Thus, strings that contain
abc
,
acc
,
amc
,
etc. are all in the class of strings that this regular expression
matches.