RegExpValue

Represents a regular expression value. Described in https://w3c.github.io/webdriver-bidi/#type-script-LocalValue.

Constructor

new RegExpValue(pattern, flagsopt)

Constructs a new RegExpValue object.

Parameters:
NameTypeAttributesDefaultDescription
patternstring

The pattern of the regular expression.

flagsstring | null<optional>
null

The flags of the regular expression.