Skip to main content

Module raw

Module raw 

Source
Expand description

Low-level compiled-regex type and FFI bindings.

Most users should use Regex or RegexBuf from the crate root rather than importing from this module directly. The module is public so that RegexBuf<N, CCL, MEMO> with non-default parameters can be constructed without a glob import.

Structs§

RegexBuf
An owned, compiled regex pattern with compile-time-fixed storage.
regex_t

Constants§

DEFAULT_CCL
Default character-class buffer size in bytes.
DEFAULT_MATCH_TEXT_LEN
Text-offset dimension used to compute DEFAULT_MEMO.
DEFAULT_MEMO
Memo table size (bytes) for the default node and text-length capacities.
DEFAULT_NODES
Default node capacity: max pattern symbols in a compiled regex.

Functions§

re_compile
re_matchp

Type Aliases§

re_t

Unions§

regex_t__bindgen_ty_1