Optional
Readonly
dotThe s
flag.
false
Optional
Readonly
globalThe g
flag.
false
Optional
Readonly
hasThe d
flag.
false
Optional
Readonly
ignoreThe i
flag.
false
Optional
Readonly
multilineThe m
flag.
false
Optional
Readonly
stickyThe y
flag.
false
Optional
Readonly
unicodeThe u
flag.
false
Optional
Readonly
unicodeThe v
flag.
false
A simple interface to represent JS RegExp flags.
All properties are optional and assumed to be
false
by default.