Sign In

$regexHasAnyFlags[]

Returns whether the regex has any of the given flags

New v1.1.0+ Requires Brackets

Usage

$regexHasAnyFlags[;]

Arguments

NameTypeRequiredDescription
name
StringYesThe name of the regex
...flags
YesThe flags to check for

Output

Boolean

Was this page helpful?