Crate wahgex_core

Source
Expand description

wahgex-core is a library for compiling regular expressions into WebAssembly modules that can be executed efficiently.

Modulesยง

compile ๐Ÿ”’
This module is responsible for compiling a Thompson NFA (Non-deterministic Finite Automaton) into a WebAssembly module.
error ๐Ÿ”’
This module contains types and functions related to public-facing errors.
runtime ๐Ÿ”’
TODO: Write docs for this module
util ๐Ÿ”’

Structsยง

BuildError
Represents an error that can occur during the regex compilation process.
Builder
A builder for compiling regular expressions into a PikeVM.
Config
Configuration options for building a PikeVM.
InputOpts
This type is a mirror of [regex_automata::Input], with guaranteed alignment and no-substructs.
PikeVM
A compiled regular expression represented as a Pike VM, ready for matching.

Enumsยง

PrepareInputResult
This enum represents the results of the prepare_input function.