Crate vectorscan

source ·
Expand description

Wrapper for the vectorscan C++ regex library.

TODO: describe feature flags!

FIXME: describe any outstanding forks, but also make PRs to include those!

TODO: describe perf hit (or lack thereof) for "catch-unwind" feature via reference to Servo’s unwind perf issue and the fix PR.

Modules

  • allocalloc
    Routines for overriding the allocators used in several components of vectorscan.
  • Compile state machines from expressions or deserialize them from bytes.
  • Errors returned by methods in this library.
  • expressioncompiler
    FFI wrappers for different types of pattern strings.
  • flagscompiler
    Integer bitsets used to configure pattern compilation.
  • Types used in vectorscan match callbacks.
  • Wrappers for types of string data which can be searched and indexed.
  • Allocate and initialize mutable scratch space required for string searching.
  • streamstream

Functions