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.