Results 21 - 36 of 36
method executes a search for a match between a regular expression and this
method splits a
object into an array of strings by separating the string into substrings.
keyword can be used to define a function inside an expression.
creates an instance of a user-defined object type or of one of the built-in object types that has a constructor function.
and non-strict mode.
, and with the
compile method is used to (re-)compile a regular expression during execution of a script. It is basically the same as the
property returns a string consisting of the flags of the current regular expression object.
lastMatch property is a static and read-only property of regular expressions that contains the last matched characters.
RegExp.$& is an alias for this property.
lastParen property is a static and read-only property of regular expressions that contains the last parenthesized substring match, if any.
RegExp.$+ is an alias for this property.
leftContext property is a static and read-only property of regular expressions that contains the substring preceding the most recent match.
RegExp.$` is an alias for this property.
$1, $2, $3, $4, $5, $6, $7, $8, $9 properties are static and read-only properties of regular expressions that contain parenthesized substring matches.
rightContext property is a static and read-only property of regular expressions that contains the substring following the most recent match.
RegExp.$' is an alias for this property.
property reflects whether or not the search is sticky (searches in strings only from the index indicated by the
property of this regular expression).
is a read-only property of an individual regular expression object.
property indicates whether or not the "
u" flag is used with a regular expression.
unicode is a read-only property of an individual regular expression instance.
super keyword is used to call functions on an object's parent.