/[pcre]/code/trunk/doc/pcre_study.3
ViewVC logotype

Diff of /code/trunk/doc/pcre_study.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 691 by ph10, Sun Sep 11 14:31:21 2011 UTC revision 868 by ph10, Fri Jan 13 17:16:32 2012 UTC
# Line 10  PCRE - Perl-compatible regular expressio Line 10  PCRE - Perl-compatible regular expressio
10  .B pcre_extra *pcre_study(const pcre *\fIcode\fP, int \fIoptions\fP,  .B pcre_extra *pcre_study(const pcre *\fIcode\fP, int \fIoptions\fP,
11  .ti +5n  .ti +5n
12  .B const char **\fIerrptr\fP);  .B const char **\fIerrptr\fP);
13    .PP
14    .B pcre16_extra *pcre16_study(const pcre16 *\fIcode\fP, int \fIoptions\fP,
15    .ti +5n
16    .B const char **\fIerrptr\fP);
17  .  .
18  .SH DESCRIPTION  .SH DESCRIPTION
19  .rs  .rs
# Line 18  This function studies a compiled pattern Line 22  This function studies a compiled pattern
22  be extracted that might speed up matching. Its arguments are:  be extracted that might speed up matching. Its arguments are:
23  .sp  .sp
24    \fIcode\fP       A compiled regular expression    \fIcode\fP       A compiled regular expression
25    \fIoptions\fP    Options for \fBpcre_study()\fP    \fIoptions\fP    Options for \fBpcre[16]_study()\fP
26    \fIerrptr\fP     Where to put an error message    \fIerrptr\fP     Where to put an error message
27  .sp  .sp
28  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
29  \fBpcre_exec()\fP or \fBpcre_dfa_exec()\fP via their \fIextra\fP arguments.  \fBpcre[16]_exec()\fP or \fBpcre[16]_dfa_exec()\fP via their \fIextra\fP
30    arguments.
31  .P  .P
32  If the function returns NULL, either it could not find any additional  If the function returns NULL, either it could not find any additional
33  information, or there was an error. You can tell the difference by looking at  information, or there was an error. You can tell the difference by looking at

Legend:
Removed from v.691  
changed lines
  Added in v.868

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12