Name

RegexOptions

Synopsis

This enumeration contains various options that affect the behavior of pattern matching in various methods from the System.Text.RegularExpressions namespace. The values of this enumeration are passed to these methods as a bitwise-OR combination of the specified options.

Public Enum RegexOptions
                  None = &H000000000
                  IgnoreCase = &H000000001
                  Multiline = &H000000002
                  ExplicitCapture = &H000000004
                  Compiled = &H000000008
                  Singleline = &H000000010
                  IgnorePatternWhitespace = &H000000020
                  RightToLeft = &H000000040
                  ECMAScript = &H000000100
End Enum

Hierarchy

System.ObjectSystem.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) RegexOptions

Returned By

Regex.Options, RegexCompilationInfo.Options

Passed To

Regex.{IsMatch(), Match(), Matches(), Regex(), Replace(), Split()}, RegexCompilationInfo.{Options, RegexCompilationInfo()}

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.