version 1.1.1.2, 2012/02/21 23:50:25
|
version 1.1.1.4, 2013/07/22 08:25:56
|
Line 1
|
Line 1
|
.TH PCRE_STUDY 3 | .TH PCRE_STUDY 3 " 24 June 2012" "PCRE 8.30" |
.SH NAME |
.SH NAME |
PCRE - Perl-compatible regular expressions |
PCRE - Perl-compatible regular expressions |
.SH SYNOPSIS |
.SH SYNOPSIS |
Line 14 PCRE - Perl-compatible regular expressions
|
Line 14 PCRE - Perl-compatible regular expressions
|
.B pcre16_extra *pcre16_study(const pcre16 *\fIcode\fP, int \fIoptions\fP, |
.B pcre16_extra *pcre16_study(const pcre16 *\fIcode\fP, int \fIoptions\fP, |
.ti +5n |
.ti +5n |
.B const char **\fIerrptr\fP); |
.B const char **\fIerrptr\fP); |
|
.PP |
|
.B pcre32_extra *pcre32_study(const pcre32 *\fIcode\fP, int \fIoptions\fP, |
|
.ti +5n |
|
.B const char **\fIerrptr\fP); |
. |
. |
.SH DESCRIPTION |
.SH DESCRIPTION |
.rs |
.rs |
Line 22 This function studies a compiled pattern, to see if ad
|
Line 26 This function studies a compiled pattern, to see if ad
|
be extracted that might speed up matching. Its arguments are: |
be extracted that might speed up matching. Its arguments are: |
.sp |
.sp |
\fIcode\fP A compiled regular expression |
\fIcode\fP A compiled regular expression |
\fIoptions\fP Options for \fBpcre[16]_study()\fP | \fIoptions\fP Options for \fBpcre[16|32]_study()\fP |
\fIerrptr\fP Where to put an error message |
\fIerrptr\fP Where to put an error message |
.sp |
.sp |
If the function succeeds, it returns a value that can be passed to |
If the function succeeds, it returns a value that can be passed to |
\fBpcre[16]_exec()\fP or \fBpcre[16]_dfa_exec()\fP via their \fIextra\fP | \fBpcre[16|32]_exec()\fP or \fBpcre[16|32]_dfa_exec()\fP via their \fIextra\fP |
arguments. |
arguments. |
.P |
.P |
If the function returns NULL, either it could not find any additional |
If the function returns NULL, either it could not find any additional |