Crate pcre2

source ·
Expand description

This crate provides a safe high level Rust binding to PCRE2.

The API of this crate attempts to correspond closely to the API of Rust’s regex crate. The API provided by this crate neither matches the full API of Rust’s regex crate nor does it expose the full functionality of PCRE2. Contributions are welcome to improve this.

Modules§

  • PCRE2 regular expressions for matching on arbitrary bytes.

Structs§

Enums§

  • The kind of an error indicates the type of operation that was attempted that resulted in an error.

Functions§

  • Escapes all regular expression meta characters in pattern.
  • Returns true if and only if PCRE2 believes that JIT is available.
  • Returns the version of PCRE2 being used.