~ubuntu-branches/ubuntu/oneiric/pcre3/oneiric

« back to all changes in this revision

Viewing changes to doc/html/pcre_compile2.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-01-25 12:25:05 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110125122505-poii7htffw5ctwdy
Tags: 8.12-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
This function compiles a regular expression into an internal form. It is the
32
32
same as <b>pcre_compile()</b>, except for the addition of the <i>errorcodeptr</i>
33
33
argument. The arguments are:
34
 
</P>
35
 
<P>
36
34
<pre>
37
35
  <i>pattern</i>       A zero-terminated string containing the
38
36
                  regular expression to be compiled
70
68
  PCRE_NO_UTF8_CHECK      Do not check the pattern for UTF-8
71
69
                            validity (only relevant if
72
70
                            PCRE_UTF8 is set)
 
71
  PCRE_UCP                Use Unicode properties for \d, \w, etc.
73
72
  PCRE_UNGREEDY           Invert greediness of quantifiers
74
73
  PCRE_UTF8               Run in UTF-8 mode
75
74
</pre>
76
75
PCRE must be built with UTF-8 support in order to use PCRE_UTF8 and
77
 
PCRE_NO_UTF8_CHECK.
 
76
PCRE_NO_UTF8_CHECK, and with UCP support if PCRE_UCP is used.
78
77
</P>
79
78
<P>
80
79
The yield of the function is a pointer to a private data structure that