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.