ViewVC logotype

Contents of /code/trunk/doc/html/pcre_study.html

Parent Directory Parent Directory | Revision Log Revision Log

Revision 63 - (show annotations)
Sat Feb 24 21:40:03 2007 UTC (8 years, 3 months ago) by nigel
File MIME type: text/html
File size: 1282 byte(s)
Error occurred while calculating annotation data.
Load pcre-4.0 into code/trunk.
1 <html>
2 <head>
3 <title>pcre_study specification</title>
4 </head>
5 <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6 This HTML document has been generated automatically from the original man page.
7 If there is any nonsense in it, please consult the man page, in case the
8 conversion went wrong.<br>
9 <br><b>
11 </b><br>
12 <P>
13 <b>#include &#60;pcre.h&#62;</b>
14 </P>
15 <P>
16 <b>pcre_extra *pcre_study(const pcre *<i>code</i>, int <i>options</i>,</b>
17 <b>const char **<i>errptr</i>);</b>
18 </P>
19 <br><b>
21 </b><br>
22 <P>
23 This function studies a compiled pattern, to see if additional information can
24 be extracted that might speed up matching. Its arguments are:
25 </P>
26 <P>
27 <pre>
28 <i>code</i> A compiled regular expression
29 <i>options</i> Options for <b>pcre_study()</b>
30 <i>errptr</i> Where to put an error message
31 </PRE>
32 </P>
33 <P>
34 If the function returns NULL, either it could not find any additional
35 information, or there was an error. You can tell the difference by looking at
36 the error value. It is NULL in first case.
37 </P>
38 <P>
39 There are currently no options defined; the value of the second argument should
40 always be zero.
41 </P>
42 <P>
43 There is a complete description of the PCRE API in the
44 <a href="pcreapi.html"><b>pcreapi</b></a>
45 page.

  ViewVC Help
Powered by ViewVC 1.1.5