The PCRE2 10.44 API (pcre2.h, 8-bit library) that ext/pcre uses,
linked from the sources build.rs compiles.
Contents
Structs
Code`pcre2_code`.CompileContext`pcre2_compile_context`.GeneralContext`pcre2_general_context` (always NULL here: PCRE2's default allocator).JitStack`pcre2_jit_stack`.MatchContext`pcre2_match_context`.MatchData`pcre2_match_data`.Type aliases
JitCallback`pcre2_jit_callback`.Constants
ANCHOREDUndocumented.CASELESSUndocumented.DOLLAR_ENDONLYUndocumented.DOTALLUndocumented.DUPNAMESUndocumented.ERROR_BACKSLASH_C_CALLER_DISABLEDUndocumented.ERROR_BADOFFSETUndocumented.ERROR_BADUTFOFFSETUndocumented.ERROR_DEPTHLIMITUndocumented.ERROR_JIT_STACKLIMITUndocumented.ERROR_MATCHLIMITUndocumented.ERROR_NOMATCHUndocumented.ERROR_NOMEMORYUndocumented.ERROR_UTF8_ERR1Undocumented.ERROR_UTF8_ERR21Undocumented.EXTENDEDUndocumented.EXTRA_CASELESS_RESTRICTUndocumented.INFO_CAPTURECOUNTUndocumented.INFO_JITSIZEUndocumented.INFO_NAMECOUNTUndocumented.INFO_NAMEENTRYSIZEUndocumented.INFO_NAMETABLEUndocumented.JIT_COMPLETEUndocumented.MULTILINEUndocumented.NEVER_BACKSLASH_CUndocumented.NO_AUTO_CAPTUREUndocumented.NO_UTF_CHECKUndocumented.NOTEMPTY_ATSTARTUndocumented.UCPUndocumented.UNGREEDYUndocumented.UNSET`PCRE2_UNSET`: an unset capture offset.UTFUndocumented.use php_std::pcre::ffi::Code;Rust
pub struct Codepcre2_code.
Also implements
Drop.use php_std::pcre::ffi::CompileContext;Rust
pub struct CompileContextpcre2_compile_context.
use php_std::pcre::ffi::GeneralContext;Rust
pub struct GeneralContextpcre2_general_context (always NULL here: PCRE2's default allocator).
use php_std::pcre::ffi::JitStack;Rust
pub struct JitStackpcre2_jit_stack.
use php_std::pcre::ffi::MatchContext;Rust
pub struct MatchContextpcre2_match_context.
use php_std::pcre::ffi::MatchData;Rust
pub struct MatchDatapcre2_match_data.
Rust
pub type JitCallback = Option<unsafe extern "C" fn(*mut c_void) -> *mut JitStack>pcre2_jit_callback.
Rust
pub const ANCHORED: u32 = 0x8000_0000Undocumented.
Rust
pub const CASELESS: u32 = 0x0000_0008Undocumented.
Rust
pub const DOLLAR_ENDONLY: u32 = 0x0000_0010Undocumented.
Rust
pub const DOTALL: u32 = 0x0000_0020Undocumented.
Rust
pub const DUPNAMES: u32 = 0x0000_0040Undocumented.
Rust
pub const ERROR_BACKSLASH_C_CALLER_DISABLED: c_int = 183Undocumented.
Rust
pub const ERROR_BADOFFSET: c_int = -33Undocumented.
Rust
pub const ERROR_BADUTFOFFSET: c_int = -36Undocumented.
Rust
pub const ERROR_DEPTHLIMIT: c_int = -53Undocumented.
Rust
pub const ERROR_JIT_STACKLIMIT: c_int = -46Undocumented.
Rust
pub const ERROR_MATCHLIMIT: c_int = -47Undocumented.
Rust
pub const ERROR_NOMATCH: c_int = -1Undocumented.
Rust
pub const ERROR_NOMEMORY: c_int = -48Undocumented.
Rust
pub const ERROR_UTF8_ERR1: c_int = -3Undocumented.
Rust
pub const ERROR_UTF8_ERR21: c_int = -23Undocumented.
Rust
pub const EXTENDED: u32 = 0x0000_0080Undocumented.
Rust
pub const EXTRA_CASELESS_RESTRICT: u32 = 0x0000_0080Undocumented.
Rust
pub const INFO_CAPTURECOUNT: u32 = 4Undocumented.
Rust
pub const INFO_JITSIZE: u32 = 10Undocumented.
Rust
pub const INFO_NAMECOUNT: u32 = 17Undocumented.
Rust
pub const INFO_NAMEENTRYSIZE: u32 = 18Undocumented.
Rust
pub const INFO_NAMETABLE: u32 = 19Undocumented.
Rust
pub const JIT_COMPLETE: u32 = 0x0000_0001Undocumented.
Rust
pub const MULTILINE: u32 = 0x0000_0400Undocumented.
Rust
pub const NEVER_BACKSLASH_C: u32 = 0x0010_0000Undocumented.
Rust
pub const NO_AUTO_CAPTURE: u32 = 0x0000_2000Undocumented.
Rust
pub const NO_UTF_CHECK: u32 = 0x4000_0000Undocumented.
Rust
pub const NOTEMPTY_ATSTART: u32 = 0x0000_0008Undocumented.
Rust
pub const UCP: u32 = 0x0002_0000Undocumented.
Rust
pub const UNGREEDY: u32 = 0x0004_0000Undocumented.
Rust
pub const UNSET: usize = usize::MAXPCRE2_UNSET: an unset capture offset.
Rust
pub const UTF: u32 = 0x0008_0000Undocumented.