→ RegExp
Creates and returns a new RegExp object set to the value of the argument converted to a regular expression.
Wraps a regular expression.
| Name | Type | Access | Description |
|---|---|---|---|
| static | String | readonly | The matched subexpression #1. |
| static | String | readonly | The matched subexpression #2. |
| static | String | readonly | The matched subexpression #3. |
| static | String | readonly | The matched subexpression #4. |
| static | String | readonly | The matched subexpression #5. |
| static | String | readonly | The matched subexpression #6. |
| static | String | readonly | The matched subexpression #7. |
| static | String | readonly | The matched subexpression #8. |
| static | String | readonly | The matched subexpression #9. |
| static | Boolean | read/write | Indicates whether the match is a global match. |
| static | Boolean | read/write | Indicates whether the match is not case sensitive. |
| static | String | read/write | The original input string. |
| static | String | readonly | The last match. |
| static | String | readonly | The value of the last matched subexpression. |
| static | String | readonly | The string before the match. |
| static | Boolean | read/write | Indicates whether the match matches multiple lines. |
| static | String | readonly | The string after the match. |
Creates and returns a new RegExp object set to the value of the argument converted to a regular expression.
Compiles a string to a regular expression. Returns true if the compilation was successful.
Execute a regular expression.
Execute a regular expression, and return true if there is a match.
Converts this RegExp object to a string.
Method parameters that accept a RegExp.
Methods that return a RegExp.