RegexParseException Constructors
Definition
Namespace: Corvus.Ecma262.RegularExpressions
Assembly: Corvus.Regex.Ecma262.dll
Source: RegexParseException.cs
RegexParseException(string, int)
Initializes a new instance of the RegexParseException class.
public RegexParseException(string reason, int offset)
Parameters
| Name | Type | Description |
|---|---|---|
reason |
string |
What is wrong, as ECMA-262 and V8 word it. |
offset |
int |
Where it is, as an offset in the pattern in UTF-16 code units. |
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests.
Open an issue