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

Diff of /code/trunk/doc/html/pcre_compile2.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 30  SYNOPSIS Line 30  SYNOPSIS
30  <b>const char **<i>errptr</i>, int *<i>erroffset</i>,</b>  <b>const char **<i>errptr</i>, int *<i>erroffset</i>,</b>
31  <b>const unsigned char *<i>tableptr</i>);</b>  <b>const unsigned char *<i>tableptr</i>);</b>
32  </P>  </P>
33    <P>
34    <b>pcre32 *pcre32_compile2(PCRE_SPTR32 <i>pattern</i>, int <i>options</i>,</b>
35    <b>int *<i>errorcodeptr</i>,</b>
36    <b>const char **<i>errptr</i>, int *<i>erroffset</i>,</b>
37    <b>const unsigned char *<i>tableptr</i>);</b>
38    </P>
39  <br><b>  <br><b>
40  DESCRIPTION  DESCRIPTION
41  </b><br>  </b><br>
42  <P>  <P>
43  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
44  same as <b>pcre[16]_compile()</b>, except for the addition of the  same as <b>pcre[16|32]_compile()</b>, except for the addition of the
45  <i>errorcodeptr</i> argument. The arguments are:  <i>errorcodeptr</i> argument. The arguments are:
46  <pre>  <pre>
47    <i>pattern</i>       A zero-terminated string containing the    <i>pattern</i>       A zero-terminated string containing the
# Line 74  The option bits are: Line 80  The option bits are:
80    PCRE_NO_UTF16_CHECK     Do not check the pattern for UTF-16    PCRE_NO_UTF16_CHECK     Do not check the pattern for UTF-16
81                              validity (only relevant if                              validity (only relevant if
82                              PCRE_UTF16 is set)                              PCRE_UTF16 is set)
83      PCRE_NO_UTF32_CHECK     Do not check the pattern for UTF-32
84                                validity (only relevant if
85                                PCRE_UTF32 is set)
86    PCRE_NO_UTF8_CHECK      Do not check the pattern for UTF-8    PCRE_NO_UTF8_CHECK      Do not check the pattern for UTF-8
87                              validity (only relevant if                              validity (only relevant if
88                              PCRE_UTF8 is set)                              PCRE_UTF8 is set)
89    PCRE_UCP                Use Unicode properties for \d, \w, etc.    PCRE_UCP                Use Unicode properties for \d, \w, etc.
90    PCRE_UNGREEDY           Invert greediness of quantifiers    PCRE_UNGREEDY           Invert greediness of quantifiers
91    PCRE_UTF16              Run <b>pcre16_compile()</b> in UTF-16 mode    PCRE_UTF16              Run <b>pcre16_compile()</b> in UTF-16 mode
92      PCRE_UTF32              Run <b>pcre32_compile()</b> in UTF-32 mode
93    PCRE_UTF8               Run <b>pcre_compile()</b> in UTF-8 mode    PCRE_UTF8               Run <b>pcre_compile()</b> in UTF-8 mode
94  </pre>  </pre>
95  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
96  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.
97  </P>  </P>
98  <P>  <P>
99  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