Creates a new RegExp with the same pattern and flags as the given one.
The exec() method executes a search for a match in a specified string.
The value of global is a Boolean and true if the "g" flag was used; otherwise, false.
Tests whether this object has the specified property as a direct property.
The value of ignoreCase is a Boolean and true if the "i" flag was used; otherwise, false.
Tests whether this object is in the prototype chain of another object.
The lastIndex is a read/write integer property of regular expressions that specifies the index at which to start the next match.
The value of multiline is a Boolean and is true if the "m" flag was used; otherwise, false.
Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.
The source property returns a String containing the text of the pattern, excluding the forward slashes.
The test() method executes a search for a match between a regular expression and a specified string.