-----------------------------------------------------------------------------
This file contains a concatenation of the PCRE man pages, converted to plain
text format for ease of searching with a text editor, or for use on systems
that do not have a man page processor. The small individual files that give
synopses of each function in the library have not been included. Neither has
the pcredemo program. There are separate text files for the pcregrep and
pcretest commands.
-----------------------------------------------------------------------------
PCRE(3) PCRE(3)
NAME
PCRE - Perl-compatible regular expressions
INTRODUCTION
The PCRE library is a set of functions that implement regular expres-
sion pattern matching using the same syntax and semantics as Perl, with
just a few differences. Some features that appeared in Python and PCRE
before they appeared in Perl are also available using the Python syn-
tax, there is some support for one or two .NET and Oniguruma syntax
items, and there is an option for requesting some minor changes that
give better JavaScript compatibility.
Starting with release 8.30, it is possible to compile two separate PCRE
libraries: the original, which supports 8-bit character strings
(including UTF-8 strings), and a second library that supports 16-bit
character strings (including UTF-16 strings). The build process allows
either one or both to be built. The majority of the work to make this
possible was done by Zoltan Herczeg.
The two libraries contain identical sets of functions, except that the
names in the 16-bit library start with pcre16_ instead of pcre_. To
avoid over-complication and reduce the documentation maintenance load,
most of the documentation describes the 8-bit library, with the differ-
ences for the 16-bit library described separately in the pcre16 page.
References to functions or structures of the form pcre[16]_xxx should
be read as meaning "pcre_xxx when using the 8-bit library and
pcre16_xxx when using the 16-bit library".
The current implementation of PCRE corresponds approximately with Perl
5.12, including support for UTF-8/16 encoded strings and Unicode gen-
eral category properties. However, UTF-8/16 and Unicode support has to
be explicitly enabled; it is not the default. The Unicode tables corre-
spond to Unicode release 6.0.0.
In addition to the Perl-compatible matching function, PCRE contains an
alternative function that matches the same compiled patterns in a dif-
ferent way. In certain circumstances, the alternative function has some
advantages. For a discussion of the two matching algorithms, see the
pcrematching page.
PCRE is written in C and released as a C library. A number of people
have written wrappers and interfaces of various kinds. In particular,
Google Inc. have provided a comprehensive C++ wrapper for the 8-bit
library. This is now included as part of the PCRE distribution. The
pcrecpp page has details of this interface. Other people's contribu-
tions can be found in the Contrib directory at the primary FTP site,
which is:
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre
Details of exactly which Perl regular expression features are and are
not supported by PCRE are given in separate documents. See the pcrepat-
tern and pcrecompat pages. There is a syntax summary in the pcresyntax
page.
Some features of PCRE can be included, excluded, or changed when the
library is built. The pcre_config() function makes it possible for a
client to discover which features are available. The features them-
selves are described in the pcrebuild page. Documentation about build-
ing PCRE for various operating systems can be found in the README and
NON-UNIX-USE files in the source distribution.
The libraries contains a number of undocumented internal functions and
data tables that are used by more than one of the exported external
functions, but which are not intended for use by external callers.
Their names all begin with "_pcre_" or "_pcre16_", which hopefully will
not provoke any name clashes. In some environments, it is possible to
control which external symbols are exported when a shared library is
built, and in these cases the undocumented symbols are not exported.
USER DOCUMENTATION
The user documentation for PCRE comprises a number of different sec-
tions. In the "man" format, each of these is a separate "man page". In
the HTML format, each is a separate page, linked from the index page.
In the plain text format, all the sections, except the pcredemo sec-
tion, are concatenated, for ease of searching. The sections are as fol-
lows:
pcre this document
pcre16 details of the 16-bit library
pcre-config show PCRE installation configuration information
pcreapi details of PCRE's native C API
pcrebuild options for building PCRE
pcrecallout details of the callout feature
pcrecompat discussion of Perl compatibility
pcrecpp details of the C++ wrapper for the 8-bit library
pcredemo a demonstration C program that uses PCRE
pcregrep description of the pcregrep command (8-bit only)
pcrejit discussion of the just-in-time optimization support
pcrelimits details of size and other limits
pcrematching discussion of the two matching algorithms
pcrepartial details of the partial matching facility
pcrepattern syntax and semantics of supported
regular expressions
pcreperform discussion of performance issues
pcreposix the POSIX-compatible C API for the 8-bit library
pcreprecompile details of saving and re-using precompiled patterns
pcresample discussion of the pcredemo program
pcrestack discussion of stack usage
pcresyntax quick syntax reference
pcretest description of the pcretest testing command
pcreunicode discussion of Unicode and UTF-8/16 support
In addition, in the "man" and HTML formats, there is a short page for
each 8-bit C library function, listing its arguments and results.
AUTHOR
Philip Hazel
University Computing Service
Cambridge CB2 3QH, England.
Putting an actual email address here seems to have been a spam magnet,
so I've taken it away. If you want to email me, use my two initials,
followed by the two digits 10, at the domain cam.ac.uk.
REVISION
Last updated: 10 January 2012
Copyright (c) 1997-2012 University of Cambridge.
------------------------------------------------------------------------------
PCRE(3) PCRE(3)
NAME
PCRE - Perl-compatible regular expressions
#include <pcre.h>
PCRE 16-BIT API BASIC FUNCTIONS
pcre16 *pcre16_compile(PCRE_SPTR16 pattern, int options,
const char **errptr, int *erroffset,
const unsigned char *tableptr);
pcre16 *pcre16_compile2(PCRE_SPTR16 pattern, int options,
int *errorcodeptr,
const char **errptr, int *erroffset,
const unsigned char *tableptr);
pcre16_extra *pcre16_study(const pcre16 *code, int
没有合适的资源?快使用搜索试试~ 我知道了~
pcre-8.30最新版本
共293个文件
c:63个
html:49个
3:44个
5星 · 超过95%的资源 需积分: 13 147 下载量 31 浏览量
2012-04-12
09:35:06
上传
评论 1
收藏 1.74MB ZIP 举报
温馨提示
最新的pcre,许多软件安装都需要,如nginx安装的时候就需要这个。本人测试可以用
资源推荐
资源详情
资源评论
收起资源包目录
pcre-8.30最新版本 (293个子文件)
pcretest.1 39KB
pcregrep.1 29KB
pcre-config.1 2KB
132html 7KB
pcrepattern.3 117KB
pcreapi.3 112KB
pcrepartial.3 18KB
pcrebuild.3 15KB
pcrejit.3 14KB
pcre16.3 13KB
pcrecpp.3 12KB
pcresyntax.3 12KB
pcreposix.3 10KB
pcreunicode.3 9KB
pcrematching.3 9KB
pcrestack.3 9KB
pcrecallout.3 8KB
pcrecompat.3 8KB
pcreperform.3 7KB
pcre.3 6KB
pcreprecompile.3 6KB
pcre_dfa_exec.3 5KB
pcre_exec.3 4KB
pcre_compile2.3 4KB
pcre_compile.3 3KB
pcresample.3 3KB
pcre_fullinfo.3 3KB
pcre_config.3 3KB
pcrelimits.3 2KB
pcre_assign_jit_stack.3 2KB
pcre_get_named_substring.3 2KB
pcre_copy_named_substring.3 1KB
pcre_utf16_to_host_byte_order.3 1KB
pcre_get_substring.3 1KB
pcre_get_substring_list.3 1KB
pcre_study.3 1KB
pcre_copy_substring.3 1KB
pcre_get_stringtable_entries.3 1KB
pcre_pattern_to_host_byte_order.3 1KB
pcre_get_stringnumber.3 1KB
pcre_jit_stack_alloc.3 1KB
pcre_refcount.3 813B
pcre_maketables.3 784B
pcre_free_substring.3 652B
pcre_free_substring_list.3 651B
pcre_jit_stack_free.3 635B
pcre_free_study.3 614B
pcre_version.3 569B
configure.ac 33KB
Makefile.am 16KB
AUTHORS 851B
RunTest.bat 14KB
makevp.bat 2KB
pcre_compile.c 263KB
pcre_jit_compile.c 208KB
pcre_exec.c 208KB
pcre_ucd.c 161KB
pcretest.c 127KB
pcre_dfa_exec.c 119KB
pcregrep.c 78KB
sljitNativeX86_common.c 78KB
sljitNativeARM_v5.c 72KB
sljitNativePPC_common.c 61KB
sljitNativeMIPS_common.c 59KB
sljitNativeARM_Thumb2.c 57KB
pcre_jit_test.c 49KB
sljitLir.c 48KB
pcre_study.c 41KB
sljitNativeX86_64.c 22KB
pcre_tables.c 21KB
pcre_printint.c 20KB
pcre_get.c 19KB
sljitNativeMIPS_32.c 16KB
pcreposix.c 15KB
pcredemo.c 15KB
sljitNativePPC_64.c 15KB
sljitNativeX86_32.c 14KB
pcre_valid_utf8.c 10KB
sljitNativePPC_32.c 10KB
sljitExecAllocator.c 9KB
pcre_byte_order.c 8KB
sljitUtils.c 7KB
dftables.c 7KB
pcre_fullinfo.c 6KB
pcre_newline.c 6KB
pcre_xclass.c 6KB
pcre_maketables.c 5KB
pcre16_utf16_utils.c 5KB
pcre16_valid_utf16.c 5KB
pcre_string_utils.c 5KB
pcre_config.c 4KB
pcre_version.c 4KB
pcre_globals.c 4KB
pcre_refcount.c 4KB
pcre16_ord2utf16.c 3KB
pcre_ord2utf8.c 3KB
pcre16_string_utils.c 2KB
pcre16_jit_compile.c 2KB
pcre16_byte_order.c 2KB
pcre16_chartables.c 2KB
共 293 条
- 1
- 2
- 3
FinallKill
- 粉丝: 0
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 毕业设计-仿生六足机器人的制作全教程源码+电子元器件+程序代码+线路组件图+安装教程+搭建视频教程
- 基于ROS和webots的xrobot机械臂仿真初探C++源码
- 基于ROS的点焊机器人仿真与控制python源码+文档说明+使用说明+详细注释
- 基于vue实现的细粒度交通时空大数据分析系统+源代码+文档说明
- 安卓大作业-基于Electron的交通时空大数据分析挖掘系统客户端(Android)+源代码+文档说明+界面截图
- 基于Java的朱氏集团客户关系管理系统设计源码
- 基于C++的作业提交与批改系统设计源码
- 基于Vue2的移动端电影资讯网站设计源码
- 高分课程设计作业-基于QT的模仿宝石迷阵游戏C++源码+文档说明+界面截图
- 基于Apache Spark的Spark DistCP重实现设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页