Parse Error Enum
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the detailed underlying reason why a RegexParseException is thrown when a regular expression contains a parsing error.
public enum class RegexParseError
public enum RegexParseError
type RegexParseError =
Public Enum RegexParseError
An alternation construct in a regular expression contains a comment.
An alternation in a regular expression has a malformed condition.
An alternation construct in a regular expression contains a malformed reference.
An alternation construct in a regular expression uses a named capture.
An alternation in a regular expression has too many conditions.
An alternation construct in a regular expression contains an undefined reference.
The group name of a captured group in a regular expression is invalid.
A regular expression defines a numbered subexpression named zero.
A character class in a regular expression with an exclusion group is not the last part of the character class.
A regular expression has a non-escaped left parenthesis, or misses a closing right parenthesis.
A regular expression has a non-escaped right parenthesis, or misses an opening left parenthesis.
A hexadecimal escape sequence in a regular expression does not have enough digits, or contains invalid digits.
A grouping construct in a regular expression is invalid or malformed.
A Unicode property escape in a regular expression is invalid or unknown.
A named reference in a regular expression is malformed.
A Unicode property escape is malformed.
A control character in a regular expression is missing.
Repeated quantifiers on another quantifier inside a regular expression are not grouped in parentheses.
A quantifier in a regular expression is in a position where it cannot quantify anything, like at the beginning of a regular expression or in a group.
A captured group or a quantifier in a regular expression is not within range, that is, it is larger than MaxValue.
A character class in a regular expression contains an inverse character range, like z-a instead of a-z.
A quantifier range in a regular expression is inverse, like
A character-class in a regular expression contains a short-hand class that is not allowed inside a character class.
A used named reference in a regular expression is not defined.
A used numbered reference in a regular expression is not defined.
A regular expression ends with a non-escaped ending backslash.
An unknown regular expression parse error.
A control character in a regular expression is not recognized.
An escape character or sequence in a regular expression is invalid.
A unicode property in a regular expression is not recognized, or invalid.
A regular expression has a non-escaped left square bracket, or misses a closing right square bracket.
A comment in a regular expression is not terminated.
This information is made available through Error.