--- embedaddon/pcre/doc/pcre_study.3 2012/02/21 23:50:25 1.1.1.2 +++ embedaddon/pcre/doc/pcre_study.3 2014/06/15 19:46:04 1.1.1.5 @@ -1,4 +1,4 @@ -.TH PCRE_STUDY 3 +.TH PCRE_STUDY 3 " 24 June 2012" "PCRE 8.30" .SH NAME PCRE - Perl-compatible regular expressions .SH SYNOPSIS @@ -6,14 +6,16 @@ PCRE - Perl-compatible regular expressions .sp .B #include .PP -.SM +.nf .B pcre_extra *pcre_study(const pcre *\fIcode\fP, int \fIoptions\fP, -.ti +5n -.B const char **\fIerrptr\fP); -.PP +.B " const char **\fIerrptr\fP);" +.sp .B pcre16_extra *pcre16_study(const pcre16 *\fIcode\fP, int \fIoptions\fP, -.ti +5n -.B const char **\fIerrptr\fP); +.B " const char **\fIerrptr\fP);" +.sp +.B pcre32_extra *pcre32_study(const pcre32 *\fIcode\fP, int \fIoptions\fP, +.B " const char **\fIerrptr\fP);" +.fi . .SH DESCRIPTION .rs @@ -22,11 +24,11 @@ This function studies a compiled pattern, to see if ad be extracted that might speed up matching. Its arguments are: .sp \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 .sp 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. .P If the function returns NULL, either it could not find any additional