| 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>
|
| 10 |
SYNOPSIS
|
| 11 |
</b><br>
|
| 12 |
<P>
|
| 13 |
<b>#include <pcre.h></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>
|
| 20 |
DESCRIPTION
|
| 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.
|