PCRE2 specification (original) (raw)
The HTML documentation for PCRE2 consists of a number of pages that are listed below in alphabetical order. If you are new to PCRE2, please read the first one first.
There are also individual pages that summarize the interface for each function in the library.
Enumerate callouts in a compiled pattern
Copy a compiled pattern
Copy a compiled pattern and its character tables
Free a compiled pattern
Compile a regular expression pattern
Copy a compile context
Create a compile context
Free a compile context
Show build-time configuration options
Copy a convert context
Create a convert context
Free a convert context
Free converted foreign pattern
Match a compiled pattern to a subject string (DFA algorithm; not Perl compatible)
Copy a general context
Create a general context
Free a general context
Get textual error message for error number
Get a (*MARK) name
Get the size of a match data block
Get the ovector count
Get a pointer to the ovector
Get the starting character offset
Process a compiled pattern with the JIT compiler
Free unused JIT memory
Fast path interface to JIT matching
Assign stack for JIT matching
Create a stack for JIT matching
Free a JIT matching stack
Build character tables in current locale
Free character tables
Match a compiled pattern to a subject string (Perl compatible)
Copy a match context
Create a match context
Free a match context
Create a match data block
pcre2_match_data_create_from_pattern
Create a match data block getting size from pattern
Free a match data block
Experimental foreign pattern converter
Extract information about a pattern
Decode serialized compiled patterns
Serialize compiled patterns for save/restore
Free serialized compiled patterns
pcre2_serialize_get_number_of_codes
Get number of serialized compiled patterns
Set \R convention
Set up a callout function
Set character tables
pcre2_set_compile_extra_options
Set compile time extra options
pcre2_set_compile_recursion_guard
Set up a compile recursion guard function
Set the match backtracking depth limit
Set glob escape character
Set glob separator character
Set the match backtracking heap limit
Set the match limit
pcre2_set_max_pattern_compiled_length
Set the maximum length of a compiled pattern
Set the maximum length of a pattern
Set the maximum match length for a variable-length lookbehind
Set the newline convention
Set the offset limit
Set an optimization directive
Set the parentheses nesting limit
Obsolete: use pcre2_set_depth_limit
pcre2_set_recursion_memory_management
Obsolete function that (from 10.30 onwards) does nothing
Set a substitution callout function
pcre2_set_substitute_case_callout
Set a substitution case callout function
Match a compiled pattern to a subject string and do substitutions
Extract named substring into given buffer
Extract numbered substring into given buffer
Free extracted substring
Extract named substring into new memory
Extract numbered substring into new memory
Find length of named substring
pcre2_substring_length_bynumber
Find length of numbered substring
Free list of extracted substrings
Extract all substrings into new memory
pcre2_substring_nametable_scan
Find table entries for given string name
pcre2_substring_number_from_name
Convert captured string name to number