Table of Contents

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

string

Pattern

Gets the pattern used in the regular expression.

[JsonPropertyName("pattern")]
[JsonRequired]
[JsonInclude]
public readonly string Pattern { get; }

Property Value

string

Methods

Equals(object)

public override readonly bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(RegularExpressionValue)

public readonly bool Equals(RegularExpressionValue other)

Parameters

other RegularExpressionValue

Returns

bool

GetHashCode()

public override readonly int GetHashCode()

Returns

int

ToString()

public override readonly string ToString()

Returns

string

Operators

operator ==(RegularExpressionValue, RegularExpressionValue)

public static bool operator ==(RegularExpressionValue left, RegularExpressionValue right)

Parameters

left RegularExpressionValue
right RegularExpressionValue

Returns

bool

operator !=(RegularExpressionValue, RegularExpressionValue)

public static bool operator !=(RegularExpressionValue left, RegularExpressionValue right)

Parameters

left RegularExpressionValue
right RegularExpressionValue

Returns

bool