/[pcre]/code/trunk/doc/html/pcre_compile.html
ViewVC logotype

Diff of /code/trunk/doc/html/pcre_compile.html

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

revision 1193 by ph10, Sat Jun 2 11:03:06 2012 UTC revision 1194 by ph10, Wed Oct 31 17:42:29 2012 UTC
# Line 28  SYNOPSIS Line 28  SYNOPSIS
28  <b>const char **<i>errptr</i>, int *<i>erroffset</i>,</b>  <b>const char **<i>errptr</i>, int *<i>erroffset</i>,</b>
29  <b>const unsigned char *<i>tableptr</i>);</b>  <b>const unsigned char *<i>tableptr</i>);</b>
30  </P>  </P>
31    <P>
32    <b>pcre32 *pcre32_compile(PCRE_SPTR32 <i>pattern</i>, int <i>options</i>,</b>
33    <b>const char **<i>errptr</i>, int *<i>erroffset</i>,</b>
34    <b>const unsigned char *<i>tableptr</i>);</b>
35    </P>
36  <br><b>  <br><b>
37  DESCRIPTION  DESCRIPTION
38  </b><br>  </b><br>
39  <P>  <P>
40  This function compiles a regular expression into an internal form. It is the  This function compiles a regular expression into an internal form. It is the
41  same as <b>pcre[16]_compile2()</b>, except for the absence of the  same as <b>pcre[16|32]_compile2()</b>, except for the absence of the
42  <i>errorcodeptr</i> argument. Its arguments are:  <i>errorcodeptr</i> argument. Its arguments are:
43  <pre>  <pre>
44    <i>pattern</i>       A zero-terminated string containing the    <i>pattern</i>       A zero-terminated string containing the
# Line 71  The option bits are: Line 76  The option bits are:
76    PCRE_NO_UTF16_CHECK     Do not check the pattern for UTF-16    PCRE_NO_UTF16_CHECK     Do not check the pattern for UTF-16
77                              validity (only relevant if                              validity (only relevant if
78                              PCRE_UTF16 is set)                              PCRE_UTF16 is set)
79      PCRE_NO_UTF32_CHECK     Do not check the pattern for UTF-32
80                                validity (only relevant if
81                                PCRE_UTF32 is set)
82    PCRE_NO_UTF8_CHECK      Do not check the pattern for UTF-8    PCRE_NO_UTF8_CHECK      Do not check the pattern for UTF-8
83                              validity (only relevant if                              validity (only relevant if
84                              PCRE_UTF8 is set)                              PCRE_UTF8 is set)
85    PCRE_UCP                Use Unicode properties for \d, \w, etc.    PCRE_UCP                Use Unicode properties for \d, \w, etc.
86    PCRE_UNGREEDY           Invert greediness of quantifiers    PCRE_UNGREEDY           Invert greediness of quantifiers
87    PCRE_UTF16              Run in <b>pcre16_compile()</b> UTF-16 mode    PCRE_UTF16              Run in <b>pcre16_compile()</b> UTF-16 mode
88      PCRE_UTF32              Run in <b>pcre32_compile()</b> UTF-32 mode
89    PCRE_UTF8               Run in <b>pcre_compile()</b> UTF-8 mode    PCRE_UTF8               Run in <b>pcre_compile()</b> UTF-8 mode
90  </pre>  </pre>
91  PCRE must be built with UTF support in order to use PCRE_UTF8/16 and  PCRE must be built with UTF support in order to use PCRE_UTF8/16/32 and
92  PCRE_NO_UTF8/16_CHECK, and with UCP support if PCRE_UCP is used.  PCRE_NO_UTF8/16/32_CHECK, and with UCP support if PCRE_UCP is used.
93  </P>  </P>
94  <P>  <P>
95  The yield of the function is a pointer to a private data structure that  The yield of the function is a pointer to a private data structure that

Legend:
Removed from v.1193  
changed lines
  Added in v.1194

  ViewVC Help
Powered by ViewVC 1.1.5