Summary
Provides enumerated values to use to set regular expression options.
Enum values
| 8 |
Specifies that the regular expression is compiled to an assembly. This yields faster execution but increases
startup time. |
| 512 | Specifies that cultural differences in language is ignored. |
| 4 |
Specifies that the only valid captures are explicitly named or numbered groups of the form (?<name>…). This
allows unnamed parentheses to act as noncapturing groups without the syntactic clumsiness of the expression
(?:…). |
| 1 | Specifies case-insensitive matching. |
| 32 |
Eliminates unescaped white space from the pattern and enables comments marked with #. However, the
System.Text.RegularExpressions.RegexOptions.IgnorePatternWhitespace value does not affect or eliminate white space
in character classes. |
| 2 |
Changes the meaning of ^ and $ so they match at the beginning and end, respectively, of any line, and not just the
beginning and end of the entire string. |
| 16 | Changes the meaning of the dot (.) so it matches every character except \n. |
| 0 | Specifies that no options are set. |
| 64 | Specifies that the search will be from right to left instead of from left to right. |