string_matches (string text, string regex_pattern) ⇒ boolean
Returns a boolean true or false value as to whether a string, text, matches the regular language pattern, regex_pattern.
Alternative function names: str_matches
First available: Version 1.3.3
Notes
It is worth noting that this is less efficient than running a == on a string because it first needs to compile a regular expression.
Comments