Enumeration Flag

Flags that can be set in a RegExp object.

Enumeration Members

Global: "g"

Allows more than 1 match.

IgnoreCase: "i"

Case insensitive.

Indices: "d"

Output match indices.

MultiLine: "m"

^ and $ match start/end of line.

SingleLine: "s"

Dot matches newlines.

Sticky: "y"

The next match must follow the previous one.

Unicode: "u"

Use full unicode.

UnicodeSets: "v"

Use all unicode and character set features.

Generated using TypeDoc