Function |matches
regex::|matches
Usage
|matches(text, regex)
Parameters
↳ text:
string
↳ regex:
string
Return
↴ bool
Matches a string against a regex.
text
is matched against regex
, returns wether the match were successful or not.
The regex engine is Unicode-aware. Please refer to Regex Syntax in documentation for full syntax description.