util.Regexp methods
Methods for the util.Regexp class.
| Name | Description | 
|---|---|
 | 
Compiles a regular expression and returns a
util.Regexp object. | 
 | 
Returns the text of the first (leftmost) match of the regular expression in the subject. | 
 | 
Returns an array with all matches of the regular expression in the subject. | 
 | 
Returns the starting and ending position of the first (leftmost) match of the regular expression in the subject. | 
 | 
Returns an array with indexes to all matches of the regular expression in the subject. | 
 | 
Returns an array with the sub-matches of the first match of regular expression in the subject. | 
 | 
Returns 2-dimensional array with the sub-matches of all matches of regular expression in the subject. | 
 | 
Returns an array with the indexes of the sub-matches of the first match of regular expression in the subject. | 
 | 
Returns a 2-dimensional array with the indexes of the sub-matches of all matches of regular expression in the subject. | 
 | 
Tests if a string contains any match of this regular expression. | 
 | 
Substitutes all matches of the regular expression with the replacement string. | 
 | 
Substitutes the match of the regular expression with the replacement string. |