|
version 1.1.1.4, 2013/07/22 08:25:56
|
version 1.1.1.5, 2014/06/15 19:46:05
|
|
Line 1
|
Line 1
|
| .TH PCRE_COMPILE 3 "24 June 2012" "PCRE 8.30" | .TH PCRE_COMPILE 3 "01 October 2013" "PCRE 8.34" |
| .SH NAME |
.SH NAME |
| PCRE - Perl-compatible regular expressions |
PCRE - Perl-compatible regular expressions |
| .SH SYNOPSIS |
.SH SYNOPSIS |
|
Line 6 PCRE - Perl-compatible regular expressions
|
Line 6 PCRE - Perl-compatible regular expressions
|
| .sp |
.sp |
| .B #include <pcre.h> |
.B #include <pcre.h> |
| .PP |
.PP |
| .SM | .nf |
| .B pcre *pcre_compile(const char *\fIpattern\fP, int \fIoptions\fP, |
.B pcre *pcre_compile(const char *\fIpattern\fP, int \fIoptions\fP, |
| .ti +5n | .B " const char **\fIerrptr\fP, int *\fIerroffset\fP," |
| .B const char **\fIerrptr\fP, int *\fIerroffset\fP, | .B " const unsigned char *\fItableptr\fP);" |
| .ti +5n | .sp |
| .B const unsigned char *\fItableptr\fP); | |
| .PP | |
| .B pcre16 *pcre16_compile(PCRE_SPTR16 \fIpattern\fP, int \fIoptions\fP, |
.B pcre16 *pcre16_compile(PCRE_SPTR16 \fIpattern\fP, int \fIoptions\fP, |
| .ti +5n | .B " const char **\fIerrptr\fP, int *\fIerroffset\fP," |
| .B const char **\fIerrptr\fP, int *\fIerroffset\fP, | .B " const unsigned char *\fItableptr\fP);" |
| .ti +5n | .sp |
| .B const unsigned char *\fItableptr\fP); | |
| .PP | |
| .B pcre32 *pcre32_compile(PCRE_SPTR32 \fIpattern\fP, int \fIoptions\fP, |
.B pcre32 *pcre32_compile(PCRE_SPTR32 \fIpattern\fP, int \fIoptions\fP, |
| .ti +5n | .B " const char **\fIerrptr\fP, int *\fIerroffset\fP," |
| .B const char **\fIerrptr\fP, int *\fIerroffset\fP, | .B " const unsigned char *\fItableptr\fP);" |
| .ti +5n | .fi |
| .B const unsigned char *\fItableptr\fP); | |
| . |
. |
| .SH DESCRIPTION |
.SH DESCRIPTION |
| .rs |
.rs |
|
Line 56 The option bits are:
|
Line 51 The option bits are:
|
| PCRE_FIRSTLINE Force matching to be before newline |
PCRE_FIRSTLINE Force matching to be before newline |
| PCRE_JAVASCRIPT_COMPAT JavaScript compatibility |
PCRE_JAVASCRIPT_COMPAT JavaScript compatibility |
| PCRE_MULTILINE ^ and $ match newlines within data |
PCRE_MULTILINE ^ and $ match newlines within data |
| |
PCRE_NEVER_UTF Lock out UTF, e.g. via (*UTF) |
| PCRE_NEWLINE_ANY Recognize any Unicode newline sequence |
PCRE_NEWLINE_ANY Recognize any Unicode newline sequence |
| PCRE_NEWLINE_ANYCRLF Recognize CR, LF, and CRLF as newline |
PCRE_NEWLINE_ANYCRLF Recognize CR, LF, and CRLF as newline |
| sequences |
sequences |
|
Line 64 The option bits are:
|
Line 60 The option bits are:
|
| PCRE_NEWLINE_LF Set LF as the newline sequence |
PCRE_NEWLINE_LF Set LF as the newline sequence |
| PCRE_NO_AUTO_CAPTURE Disable numbered capturing paren- |
PCRE_NO_AUTO_CAPTURE Disable numbered capturing paren- |
| theses (named ones available) |
theses (named ones available) |
| |
PCRE_NO_AUTO_POSSESS Disable auto-possessification |
| |
PCRE_NO_START_OPTIMIZE Disable match-time start optimizations |
| PCRE_NO_UTF16_CHECK Do not check the pattern for UTF-16 |
PCRE_NO_UTF16_CHECK Do not check the pattern for UTF-16 |
| validity (only relevant if |
validity (only relevant if |
| PCRE_UTF16 is set) |
PCRE_UTF16 is set) |