Regex module

compile_program

procedure · 1 overloadSource

Compiles root. reverse builds the program that reads the text backwards (no captures and no unanchored start: it is only run back from the end of a match).

compile_program :: (
    parsed: *Parsed,
    reverse: bool
) -> (Program, ok: bool, error: string)

Compiles root. reverse builds the program that reads the text backwards (no captures and no unanchored start: it is only run back from the end of a match).

Parameters

parsed: *Parsed
reverse: bool

Returns

ok: bool
error: string

See also