Struct RegularExpressionValue
- Namespace
- WebDriverBiDi.Script
- Assembly
- WebDriverBiDi.dll
Object representing a regular expression.
public struct RegularExpressionValue : IEquatable<RegularExpressionValue>
- Implements
- Inherited Members
Properties
Flags
Gets the flags used in the regular expression.
[JsonPropertyName("flags")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonInclude]
public readonly string? Flags { get; }
Property Value
Pattern
Gets the pattern used in the regular expression.
[JsonPropertyName("pattern")]
[JsonRequired]
[JsonInclude]
public readonly string Pattern { get; }
Property Value
Methods
Equals(object)
public override readonly bool Equals(object obj)
Parameters
objobject
Returns
Equals(RegularExpressionValue)
public readonly bool Equals(RegularExpressionValue other)
Parameters
otherRegularExpressionValue
Returns
GetHashCode()
public override readonly int GetHashCode()
Returns
ToString()
public override readonly string ToString()
Returns
Operators
operator ==(RegularExpressionValue, RegularExpressionValue)
public static bool operator ==(RegularExpressionValue left, RegularExpressionValue right)
Parameters
leftRegularExpressionValuerightRegularExpressionValue
Returns
operator !=(RegularExpressionValue, RegularExpressionValue)
public static bool operator !=(RegularExpressionValue left, RegularExpressionValue right)
Parameters
leftRegularExpressionValuerightRegularExpressionValue