| Method | Description | RegExp |
new RegExp(pattern,[flags])
Creates a new RegExp. The optional flags is a string containing charactes g,i,m.
|
exec |
exec(string)
Perform a regular expression match on the specified string. Returns an Array containing result of match or null if string did not match.
|
test |
test(string)
Equivalent to RegExp.exec(string) != null.
|
toString |
toString()
Returns string representation of this object.
|