Constructor
new RegExpValue(pattern, flagsopt)
Constructs a new RegExpValue object.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
pattern | string | The pattern of the regular expression. | ||
flags | string | | <optional> | null | The flags of the regular expression. |
- Source