Perl-compatible Regular Expressions (revised API: PCRE2)Perl-compatible正则表达式(修订版API:PCRE2)

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. PCRE2的HTML文档由以下按字母顺序列出的多个页面组成。如果您是PCRE2的新手,请先阅读第一篇。

pcre2Introductory page介绍页
pcre2-configInformation about the installation configuration有关安装配置的信息
pcre2apiPCRE2's native APIPCRE2的原生API
pcre2buildBuilding PCRE2建筑PCRE2
pcre2calloutThe callout facility调出设施
pcre2compatCompability with Perl与Perl的兼容性
pcre2convertExperimental foreign pattern conversion functions实验外来模式转换函数
pcre2demoA demonstration C program that uses the PCRE2 library使用PCRE2库的演示C程序
pcre2grepThe pcre2grep commandpcre2grep命令
pcre2jitDiscussion of the just-in-time optimization support关于实时优化支持的讨论
pcre2limitsDetails of size and other limits尺寸和其他限制的详细信息
pcre2matchingDiscussion of the two matching algorithms两种匹配算法的讨论
pcre2partialUsing PCRE2 for partial matching使用PCRE2进行部分匹配
pcre2patternSpecification of the regular expressions supported by PCRE2PCRE2支持的正则表达式规范
pcre2performSome comments on performance对性能的一些评论
pcre2posixThe POSIX API to the PCRE2 8-bit library到PCRE2 8位库的POSIX API
pcre2sampleDiscussion of the pcre2demo programpcre2demo程序的讨论
pcre2serializeSerializing functions for saving precompiled patterns序列化用于保存预编译模式的函数
pcre2syntaxSyntax quick-reference summary语法快速参考摘要
pcre2testThe pcre2test command for testing PCRE2用于测试PCRE2的pcre2test命令
pcre2unicodeDiscussion of Unicode and UTF-8/UTF-16/UTF-32 supportUnicode和UTF-8/UTF-16/UTF-32支持的讨论

There are also individual pages that summarize the interface for each function in the library. 还有一些单独的页面总结了库中每个函数的接口。

pcre2_callout_enumerateEnumerate callouts in a compiled pattern枚举已编译模式中的调用
pcre2_code_copyCopy a compiled pattern复制已编译的模式
pcre2_code_copy_with_tablesCopy a compiled pattern and its character tables复制已编译的模式及其字符表
pcre2_code_freeFree a compiled pattern释放已编译的模式
pcre2_compileCompile a regular expression pattern编译正则表达式模式
pcre2_compile_context_copyCopy a compile context复制编译上下文
pcre2_compile_context_createCreate a compile context创建编译上下文
pcre2_compile_context_freeFree a compile context释放编译上下文
pcre2_configShow build-time configuration options显示生成时配置选项
pcre2_convert_context_copyCopy a convert context复制转换上下文
pcre2_convert_context_createCreate a convert context创建转换上下文
pcre2_convert_context_freeFree a convert context释放转换上下文
pcre2_converted_pattern_freeFree converted foreign pattern自由转换外国模式
pcre2_dfa_matchMatch a compiled pattern to a subject string (DFA algorithm; not Perl compatible)将编译后的模式与主题字符串匹配(DFA算法;与Perl不兼容)
pcre2_general_context_copyCopy a general context复制常规上下文
pcre2_general_context_createCreate a general context创建常规上下文
pcre2_general_context_freeFree a general context释放一般上下文
pcre2_get_error_messageGet textual error message for error number获取错误编号的文本错误消息
pcre2_get_markGet a (*MARK) name获取(*MARK)名称
pcre2_get_match_data_sizeGet the size of a match data block获取匹配数据块的大小
pcre2_get_ovector_countGet the ovector count获取ovector计数
pcre2_get_ovector_pointerGet a pointer to the ovector获取指向ovector的游标
pcre2_get_startcharGet the starting character offset获取起始字符偏移量
pcre2_jit_compileProcess a compiled pattern with the JIT compiler使用JIT编译器处理已编译的模式
pcre2_jit_free_unused_memoryFree unused JIT memory释放未使用的JIT内存
pcre2_jit_matchFast path interface to JIT matchingJIT匹配的快速路径接口
pcre2_jit_stack_assignAssign stack for JIT matching为JIT匹配分配堆栈
pcre2_jit_stack_createCreate a stack for JIT matching创建用于JIT匹配的堆栈
pcre2_jit_stack_freeFree a JIT matching stack释放JIT匹配堆栈
pcre2_maketablesBuild character tables in current locale在当前区域设置中生成字符表
pcre2_maketables_freeFree character tables可用字符表
pcre2_matchMatch a compiled pattern to a subject string (Perl compatible)将编译后的模式与主题字符串匹配(与Perl兼容)
pcre2_match_context_copyCopy a match context复制匹配上下文
pcre2_match_context_createCreate a match context创建匹配上下文
pcre2_match_context_freeFree a match context释放匹配上下文
pcre2_match_data_createCreate a match data block创建匹配数据块
pcre2_match_data_create_from_patternCreate a match data block getting size from pattern创建匹配数据块,从模式中获取大小
pcre2_match_data_freeFree a match data block释放匹配数据块
pcre2_pattern_convertExperimental foreign pattern converter实验性外国模式转换器
pcre2_pattern_infoExtract information about a pattern提取有关图案的信息
pcre2_serialize_decodeDecode serialized compiled patterns解码序列化编译的模式
pcre2_serialize_encodeSerialize compiled patterns for save/restore序列化已编译的模式以进行保存/还原
pcre2_serialize_freeFree serialized compiled patterns自由序列化编译的模式
pcre2_serialize_get_number_of_codesGet number of serialized compiled patterns获取已序列化编译模式的数量
pcre2_set_bsrSet \R convention设置\R约定
pcre2_set_calloutSet up a callout function设置标注功能
pcre2_set_character_tablesSet character tables设置字符表
pcre2_set_compile_extra_optionsSet compile time extra options设置编译时额外选项
pcre2_set_compile_recursion_guardSet up a compile recursion guard function设置编译递归保护函数
pcre2_set_depth_limitSet the match backtracking depth limit设置匹配回溯深度限制
pcre2_set_glob_escapeSet glob escape character设置glob转义符
pcre2_set_glob_separatorSet glob separator character设置全局分隔符字符
pcre2_set_heap_limitSet the match backtracking heap limit设置匹配回溯堆限制
pcre2_set_match_limitSet the match limit设置匹配限制
pcre2_set_max_pattern_lengthSet the maximum length of pattern设置图案的最大长度
pcre2_set_newlineSet the newline convention设置换行约定
pcre2_set_offset_limitSet the offset limit设置偏移限制
pcre2_set_parens_nest_limitSet the parentheses nesting limit设置圆括号嵌套限制
pcre2_set_recursion_limitObsolete: use 过时:请使用pcre2_set_depth_limit
pcre2_set_recursion_memory_managementObsolete function that (from 10.30 onwards) does nothing过时的功能(从10.30开始)不起任何作用
pcre2_substituteMatch a compiled pattern to a subject string and do substitutions将编译后的模式与主题字符串匹配并进行替换
pcre2_substring_copy_bynameExtract named substring into given buffer将命名子字符串提取到给定的缓冲区中
pcre2_substring_copy_bynumberExtract numbered substring into given buffer将编号的子字符串提取到给定的缓冲区中
pcre2_substring_freeFree extracted substring自由提取的子字符串
pcre2_substring_get_bynameExtract named substring into new memory将命名子字符串提取到新内存中
pcre2_substring_get_bynumberExtract numbered substring into new memory将编号的子字符串提取到新内存中
pcre2_substring_length_bynameFind length of named substring查找命名子字符串的长度
pcre2_substring_length_bynumberFind length of numbered substring查找编号子字符串的长度
pcre2_substring_list_freeFree list of extracted substrings提取的子字符串的自由列表
pcre2_substring_list_getExtract all substrings into new memory将所有子字符串提取到新内存中
pcre2_substring_nametable_scanFind table entries for given string name查找给定字符串名称的表项
pcre2_substring_number_from_nameConvert captured string name to number将捕获的字符串名称转换为数字