RegExp$Typings extension

on

Properties

compile RegExp Function(String, [String?])
getter/setter pair
dotAll bool
Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression. Default is false. Read-only.
no setter
exec RegExpExecArray? Function(String)
getter/setter pair
flags String
Returns a string indicating the flags of the regular expression in question. This field is read-only. The characters in this string are sequenced and concatenated in the following order:
no setter
global bool
Returns a Boolean value indicating the state of the global flag (g) used with a regular expression. Default is false. Read-only.
no setter
hasIndices bool
Returns a Boolean value indicating the state of the hasIndices flag (d) used with with a regular expression. Default is false. Read-only.
no setter
ignoreCase bool
Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression. Default is false. Read-only.
no setter
lastIndex num
getter/setter pair
multiline bool
Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression. Default is false. Read-only.
no setter
source String
Returns a copy of the text of the regular expression pattern. Read-only. The regExp argument is a Regular expression object. It can be a variable name or a literal.
no setter
sticky bool
Returns a Boolean value indicating the state of the sticky flag (y) used with a regular expression. Default is false. Read-only.
no setter
test bool Function(String)
getter/setter pair
unicode bool
Returns a Boolean value indicating the state of the Unicode flag (u) used with a regular expression. Default is false. Read-only.
no setter