string_matches (string text, string regex_pattern) ⇒ boolean
Returns a boolean
false value as to whether a string, text, matches
the regular language pattern, regex_pattern.
It is worth noting that this is less efficient than running a == on a string because it first needs to compile a regular expression.