Regex module

build_engine

procedureextensionSource

Builds the engine for pattern. The parse tree, the programs and the engine itself are allocated from a pool of their own (Engine.pool), so free_regex can give them all back at once.

build_engine :: (
    pattern: string,
    options: Options
) -> (*Engine, bool, Error)

Parameters

pattern: string
options: Options

Returns

bool

See also