pcre2/lib.rs
1/*!
2This crate provides a safe high level Rust binding to
3[PCRE2](https://www.pcre.org/).
4
5The API of this crate attempts to correspond closely to the API of Rust's
6[`regex`](https://docs.rs/regex)
7crate. The API provided by this crate neither matches the full API of Rust's
8regex crate nor does it expose the full functionality of PCRE2. Contributions
9are welcome to improve this.
10*/
11
12#![deny(missing_docs)]
13
14extern crate alloc;
15
16pub use crate::{
17 error::{Error, ErrorKind},
18 ffi::{escape, is_jit_available, version},
19};
20
21/**
22PCRE2 regular expressions for matching on arbitrary bytes.
23*/
24pub mod bytes;
25mod error;
26mod ffi;
27mod pool;