39 lines
2.4 KiB
C#
39 lines
2.4 KiB
C#
using System;
|
|
|
|
namespace System.Text.RegularExpressions
|
|
{
|
|
/// <summary>Provides enumerated values to use to set regular expression options.</summary>
|
|
// Token: 0x020002B5 RID: 693
|
|
[Flags]
|
|
public enum RegexOptions
|
|
{
|
|
/// <summary>Specifies that no options are set.</summary>
|
|
// Token: 0x040013E9 RID: 5097
|
|
None = 0,
|
|
/// <summary>Specifies case-insensitive matching.</summary>
|
|
// Token: 0x040013EA RID: 5098
|
|
IgnoreCase = 1,
|
|
/// <summary>Multiline mode. 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.</summary>
|
|
// Token: 0x040013EB RID: 5099
|
|
Multiline = 2,
|
|
/// <summary>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 (?:…).</summary>
|
|
// Token: 0x040013EC RID: 5100
|
|
ExplicitCapture = 4,
|
|
/// <summary>Specifies single-line mode. Changes the meaning of the dot (.) so it matches every character (instead of every character except \n).</summary>
|
|
// Token: 0x040013ED RID: 5101
|
|
Singleline = 16,
|
|
/// <summary>Eliminates unescaped white space from the pattern and enables comments marked with #. However, the <see cref="F:System.Text.RegularExpressions.RegexOptions.IgnorePatternWhitespace" /> value does not affect or eliminate white space in character classes. </summary>
|
|
// Token: 0x040013EE RID: 5102
|
|
IgnorePatternWhitespace = 32,
|
|
/// <summary>Specifies that the search will be from right to left instead of from left to right.</summary>
|
|
// Token: 0x040013EF RID: 5103
|
|
RightToLeft = 64,
|
|
/// <summary>Enables ECMAScript-compliant behavior for the expression. This value can be used only in conjunction with the <see cref="F:System.Text.RegularExpressions.RegexOptions.IgnoreCase" />, <see cref="F:System.Text.RegularExpressions.RegexOptions.Multiline" />, and <see cref="F:System.Text.RegularExpressions.RegexOptions.Compiled" /> values. The use of this value with any other values results in an exception.</summary>
|
|
// Token: 0x040013F0 RID: 5104
|
|
ECMAScript = 256,
|
|
/// <summary>Specifies that cultural differences in language is ignored. See Performing Culture-Insensitive Operations in the RegularExpressions Namespace for more information.</summary>
|
|
// Token: 0x040013F1 RID: 5105
|
|
CultureInvariant = 512
|
|
}
|
|
}
|