Skip to main content

RegexOptions Enum

NuGet: GHIElectronics.TinyCLR.RegularExpressions
Assembly: GHIElectronics.TinyCLR.RegularExpressions
Namespace: System.Text.RegularExpressions

Options which can be applied to a RegularExpression

public enum RegexOptions

Fields

NameValueDescription
Compiled8Compile the regular expression to a program for faster execution.
CultureInvariant0x200Ignore cultural differences in language when matching.
ECMAScript0x100Enable ECMAScript-compliant behavior for the expression.
ExplicitCapture4Capture only explicitly named or numbered groups.
IgnoreCase1Match without regard to case.
IgnorePatternWhitespace0x20Ignore unescaped whitespace in the pattern.
Multiline2Treat ^ and $ as matching at the start and end of any line.
None0Use the default options.
Singleline0x10Make the period (.) match every character, including newlines.
Timed0x400Time the match and throw if it exceeds the allowed number of ticks.