Struct RegexFlag
Defines flags that can be combined to control how regular expressions are used in the pattern analyzer and pattern tokenizer.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public struct RegexFlag : IEquatable<Azure.Search.Documents.Indexes.Models.RegexFlag>
Constructors
RegexFlag(String)
Initializes a new instance of RegexFlag.
Declaration
public RegexFlag (string value);
Parameters
System.String
value
|
Exceptions
System.ArgumentNullException
|
Properties
CanonEq
Enables canonical equivalence.
Declaration
public static Azure.Search.Documents.Indexes.Models.RegexFlag CanonEq { get; }
Property Value
RegexFlag
|
CaseInsensitive
Enables case-insensitive matching.
Declaration
public static Azure.Search.Documents.Indexes.Models.RegexFlag CaseInsensitive { get; }
Property Value
RegexFlag
|
Comments
Permits whitespace and comments in the pattern.
Declaration
public static Azure.Search.Documents.Indexes.Models.RegexFlag Comments { get; }
Property Value
RegexFlag
|
DotAll
Enables dotall mode.
Declaration
public static Azure.Search.Documents.Indexes.Models.RegexFlag DotAll { get; }
Property Value
RegexFlag
|
Literal
Enables literal parsing of the pattern.
Declaration
public static Azure.Search.Documents.Indexes.Models.RegexFlag Literal { get; }
Property Value
RegexFlag
|
Multiline
Enables multiline mode.
Declaration
public static Azure.Search.Documents.Indexes.Models.RegexFlag Multiline { get; }
Property Value
RegexFlag
|
UnicodeCase
Enables Unicode-aware case folding.
Declaration
public static Azure.Search.Documents.Indexes.Models.RegexFlag UnicodeCase { get; }
Property Value
RegexFlag
|
UnixLines
Enables Unix lines mode.
Declaration
public static Azure.Search.Documents.Indexes.Models.RegexFlag UnixLines { get; }
Property Value
RegexFlag
|
Methods
Equals(RegexFlag)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.Search.Documents.Indexes.Models.RegexFlag other);
Parameters
RegexFlag
other
An object to compare with this object. |
Returns
System.Boolean
|
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object
obj
The object to compare with the current instance. |
Returns
System.Boolean
|
GetHashCode()
Returns the hash code for this instance.
Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32
A 32-bit signed integer that is the hash code for this instance. |
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString ();
Returns
System.String
The fully qualified type name. |
Operators
Equality(RegexFlag, RegexFlag)
Determines if two RegexFlag values are the same.
Declaration
public static bool operator == (Azure.Search.Documents.Indexes.Models.RegexFlag left, Azure.Search.Documents.Indexes.Models.RegexFlag right);
Parameters
RegexFlag
left
|
RegexFlag
right
|
Returns
System.Boolean
|
Implicit(String to RegexFlag)
Converts a string to a RegexFlag.
Declaration
public static implicit operator Azure.Search.Documents.Indexes.Models.RegexFlag (string value);
Parameters
System.String
value
|
Returns
RegexFlag
|