The function applies a regular expression to a text string according to the specified options.
The output contains
- the original text with the portions that match the regular expression highlighted in color
- the result of the evaluation as a single string
the result in detail
Options
| Multiline | ^ and $ will match the beginning and end of a line, as well as matching beginning and end of the input, respectively |
| Case Sensitive | considers the case of letters when matching |
| Unicode | treats the pattern as a Unicode pattern per the ECMAScript standard |
| Dot all | . pattern will match all characters, including line terminators |
