version 1.1.1.4, 2013/07/22 08:25:56
|
version 1.1.1.5, 2014/06/15 19:46:04
|
Line 1
|
Line 1
|
.TH PCRE_COMPILE2 3 "24 June 2012" "PCRE 8.30" | .TH PCRE_COMPILE2 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_compile2(const char *\fIpattern\fP, int \fIoptions\fP, |
.B pcre *pcre_compile2(const char *\fIpattern\fP, int \fIoptions\fP, |
.ti +5n | .B " int *\fIerrorcodeptr\fP," |
.B int *\fIerrorcodeptr\fP, | .B " const char **\fIerrptr\fP, int *\fIerroffset\fP," |
.ti +5n | .B " const unsigned char *\fItableptr\fP);" |
.B const char **\fIerrptr\fP, int *\fIerroffset\fP, | .sp |
.ti +5n | |
.B const unsigned char *\fItableptr\fP); | |
.PP | |
.B pcre16 *pcre16_compile2(PCRE_SPTR16 \fIpattern\fP, int \fIoptions\fP, |
.B pcre16 *pcre16_compile2(PCRE_SPTR16 \fIpattern\fP, int \fIoptions\fP, |
.ti +5n | .B " int *\fIerrorcodeptr\fP," |
.B int *\fIerrorcodeptr\fP, | .B " const char **\fIerrptr\fP, int *\fIerroffset\fP," |
.ti +5n | .B " const unsigned char *\fItableptr\fP);" |
.B const char **\fIerrptr\fP, int *\fIerroffset\fP, | .sp |
.ti +5n | |
.B const unsigned char *\fItableptr\fP); | |
.PP | |
.B pcre32 *pcre32_compile2(PCRE_SPTR32 \fIpattern\fP, int \fIoptions\fP, |
.B pcre32 *pcre32_compile2(PCRE_SPTR32 \fIpattern\fP, int \fIoptions\fP, |
.ti +5n | .B " int *\fIerrorcodeptr\fP,£ |
.B int *\fIerrorcodeptr\fP, | .B " const char **\fIerrptr\fP, int *\fIerroffset\fP," |
.ti +5n | .B " const unsigned char *\fItableptr\fP);" |
.B const char **\fIerrptr\fP, int *\fIerroffset\fP, | .fi |
.ti +5n | |
.B const unsigned char *\fItableptr\fP); | |
. |
. |
.SH DESCRIPTION |
.SH DESCRIPTION |
.rs |
.rs |
Line 64 The option bits are:
|
Line 56 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 72 The option bits are:
|
Line 65 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) |