TooComplexToDeterminizeException

This exception is thrown when determinizing an automaton would require too much work.

Constructors

Link copied to clipboard
constructor(regExp: RegExp, cause: TooComplexToDeterminizeException)

Use this constructor when the RegExp failed to convert to an automaton.

constructor(automaton: Automaton, determinizeWorkLimit: Int)

Use this constructor when the automaton failed to determinize.

Properties

Link copied to clipboard

Returns the automaton that caused this exception, if any.

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

Get the maximum allowed determinize effort.

Link copied to clipboard
expect open val message: String?

Functions

Link copied to clipboard

Return the RegExp that caused this exception if any.

Link copied to clipboard