Documentation

Regex

Namespace

Regular expressions.

Result of a call to Regex::SearchAll.

Perform a regex match on the source string and returns true if it matches.

Returns bool

Perform a regex match on the source string and returns true if it contains the pattern.

Returns bool

Performs a regex match on the source string and returns the matched groups if it matches, or an empty array if it doesn't.

Returns string[]@

Searches for a regex match on the source string and returns the matched groups if it matches, or an empty array if it doesn't.

Returns string[]@

Flags that can be passed to regular expression functions.