← Standard library

RegexError

error RegexError
import RegexError from Wax;

Reports an invalid regular-expression pattern, with a UTF-8 byte position in the original pattern.

Regex.wax:19

Inherits from Error. Follow these links for inherited members.

Members

positionfield

public readonly int32 position

The byte position associated with the pattern error.

Regex.wax:23

constructorconstructor

public constructor (string message, int32 position)

Creates a pattern error with its message and byte position.

Regex.wax:28