RegexOptions class
Leave feedback
On this page
The RegexOptions type exposes the following members:
| Field | Description |
|---|---|
| NONE | Specifies that no options are set. |
| IGNORE_CASE | Specifies case-insensitive matching. |
| MULTILINE | Multiline mode: ^ and $ match at the beginning and end of any line. |
| EXPLICIT_CAPTURE | Specifies that the only valid captures are explicitly named or numbered groups. |
| COMPILED | Specifies that the regular expression is compiled instead of interpreted. |
| SINGLELINE | Single-line mode: the dot (.) matches every character, \n included. |
| IGNORE_PATTERN_WHITESPACE | Eliminates unescaped white space from the pattern and enables comments marked with #. |
| RIGHT_TO_LEFT | Specifies that the search runs from right to left. |
| ECMA_SCRIPT | Enables ECMAScript-compliant behavior; combines only with IgnoreCase, Multiline and Compiled. |
| CULTURE_INVARIANT | Specifies that cultural differences in language are ignored. |
| NON_BACKTRACKING | Matches without backtracking, in time linear in the length of the input. |
Task guides that use RegexOptions:
- module
groupdocs.search
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.