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

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

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

revision 511 by ph10, Mon Oct 5 10:59:35 2009 UTC revision 512 by ph10, Tue Mar 30 11:11:52 2010 UTC
# Line 748  out of use. To avoid confusion, they hav Line 748  out of use. To avoid confusion, they hav
748    57  \g is not followed by a braced, angle-bracketed, or quoted    57  \g is not followed by a braced, angle-bracketed, or quoted
749          name/number or by a plain number          name/number or by a plain number
750    58  a numbered reference must not be zero    58  a numbered reference must not be zero
751    59  (*VERB) with an argument is not supported    59  an argument is not allowed for (*ACCEPT), (*FAIL), or (*COMMIT)
752    60  (*VERB) not recognized    60  (*VERB) not recognized
753    61  number is too big    61  number is too big
754    62  subpattern name expected    62  subpattern name expected
755    63  digit expected after (?+    63  digit expected after (?+
756    64  ] is an invalid data character in JavaScript compatibility mode    64  ] is an invalid data character in JavaScript compatibility mode
757      65  different names for subpatterns of the same number are not allowed
758      66  (*MARK) must have an argument
759  </pre>  </pre>
760  The numbers 32 and 10000 in errors 48 and 49 are defaults; different values may  The numbers 32 and 10000 in errors 48 and 49 are defaults; different values may
761  be used if the limits were changed when PCRE was built.  be used if the limits were changed when PCRE was built.
# Line 1207  fields (not necessarily in this order): Line 1209  fields (not necessarily in this order):
1209    unsigned long int <i>match_limit_recursion</i>;    unsigned long int <i>match_limit_recursion</i>;
1210    void *<i>callout_data</i>;    void *<i>callout_data</i>;
1211    const unsigned char *<i>tables</i>;    const unsigned char *<i>tables</i>;
1212      unsigned char **<i>mark</i>;
1213  </pre>  </pre>
1214  The <i>flags</i> field is a bitmap that specifies which of the other fields  The <i>flags</i> field is a bitmap that specifies which of the other fields
1215  are set. The flag bits are:  are set. The flag bits are:
# Line 1216  are set. The flag bits are: Line 1219  are set. The flag bits are:
1219    PCRE_EXTRA_MATCH_LIMIT_RECURSION    PCRE_EXTRA_MATCH_LIMIT_RECURSION
1220    PCRE_EXTRA_CALLOUT_DATA    PCRE_EXTRA_CALLOUT_DATA
1221    PCRE_EXTRA_TABLES    PCRE_EXTRA_TABLES
1222      PCRE_EXTRA_MARK
1223  </pre>  </pre>
1224  Other flag bits should be set to zero. The <i>study_data</i> field is set in the  Other flag bits should be set to zero. The <i>study_data</i> field is set in the
1225  <b>pcre_extra</b> block that is returned by <b>pcre_study()</b>, together with  <b>pcre_extra</b> block that is returned by <b>pcre_study()</b>, together with
# Line 1282  the external tables might be at a differ Line 1286  the external tables might be at a differ
1286  called. See the  called. See the
1287  <a href="pcreprecompile.html"><b>pcreprecompile</b></a>  <a href="pcreprecompile.html"><b>pcreprecompile</b></a>
1288  documentation for a discussion of saving compiled patterns for later use.  documentation for a discussion of saving compiled patterns for later use.
1289    </P>
1290    <P>
1291    If PCRE_EXTRA_MARK is set in the <i>flags</i> field, the <i>mark</i> field must
1292    be set to point to a <b>char *</b> variable. If the pattern contains any
1293    backtracking control verbs such as (*MARK:NAME), and the execution ends up with
1294    a name to pass back, a pointer to the name string (zero terminated) is placed
1295    in the variable pointed to by the <i>mark</i> field. The names are within the
1296    compiled pattern; if you wish to retain such a name you must copy it before
1297    freeing the memory of a compiled pattern. If there is no name to pass back, the
1298    variable pointed to by the <i>mark</i> field set to NULL. For details of the
1299    backtracking control verbs, see the section entitled
1300    <a href="pcrepattern#backtrackcontrol">"Backtracking control"</a>
1301    in the
1302    <a href="pcrepattern.html"><b>pcrepattern</b></a>
1303    documentation.
1304  <a name="execoptions"></a></P>  <a name="execoptions"></a></P>
1305  <br><b>  <br><b>
1306  Option bits for <b>pcre_exec()</b>  Option bits for <b>pcre_exec()</b>
# Line 2067  Cambridge CB2 3QH, England. Line 2086  Cambridge CB2 3QH, England.
2086  </P>  </P>
2087  <br><a name="SEC22" href="#TOC1">REVISION</a><br>  <br><a name="SEC22" href="#TOC1">REVISION</a><br>
2088  <P>  <P>
2089  Last updated: 03 October 2009  Last updated: 26 March 2010
2090  <br>  <br>
2091  Copyright &copy; 1997-2009 University of Cambridge.  Copyright &copy; 1997-2010 University of Cambridge.
2092  <br>  <br>
2093  <p>  <p>
2094  Return to the <a href="index.html">PCRE index page</a>.  Return to the <a href="index.html">PCRE index page</a>.

Legend:
Removed from v.511  
changed lines
  Added in v.512

  ViewVC Help
Powered by ViewVC 1.1.5