baml.regex.ErrorKind

Why a pattern failed to compile.

Reference version

Signature

enum baml.regex.ErrorKind

Why a pattern failed to compile.

Source:<builtin>/baml/ns_regex/regex.bamlbytes 2354–2750

Variants

Syntax

The pattern does not parse.

Unsupported

The pattern parses, but uses a construct the selected dialect does not support — lookaround, a backreference, or a subroutine call without backtracking = true.

TooLarge

The pattern parses and is supported, but its compiled program exceeds the engine's size limit.

Implementations

baml.Concrete for T

Source:<builtin>/baml/core.bamlbytes 763–795