The native browser JavaScript object used to work with regular expressions.
An instance can also be created with the shorthand /pattern/attributes
.
Note that this object is implemented and supported by the web browser and results of its use may vary.
Field Summary
|
public Boolean |
global
-
Describes whether the "g" attribute is applied to this regular expression.
|
public Boolean |
ignoreCase
-
Describes whether the "i" attribute is applied to this regular expression.
|
public String |
input
-
The text that the patter is matched against.
|
public Number |
lastIndex
-
The index at which the next index will be performed from.
|
public String |
lastMatch
-
The recently-found match.
|
public String |
lastParen
-
The recently-found parenthesized match.
|
public String |
leftContext
-
The text before the recently-found match.
|
public Boolean |
multiline
-
Describes whether the "m" attribute is applied to this regular expression.
|
public String |
rightContext
-
The text after the recently-found match.
|
public String |
source
-
The the regular expression pattern.
|