A regular expression is used to determine whether a string matches a pattern
and, if it does, to extract or transform the parts that match.
A Regex that finds the first match when used in a pattern match.
This object defines inner classes that describe
regex matches and helper objects.