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

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

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

revision 1403 by ph10, Wed Oct 31 17:42:29 2012 UTC revision 1404 by ph10, Tue Nov 19 15:36:57 2013 UTC
# Line 21  practice be relevant. Line 21  practice be relevant.
21  </P>  </P>
22  <P>  <P>
23  The maximum length of a compiled pattern is approximately 64K data units (bytes  The maximum length of a compiled pattern is approximately 64K data units (bytes
24  for the 8-bit library, 32-bit units for the 32-bit library, and 32-bit units for  for the 8-bit library, 16-bit units for the 16-bit library, and 32-bit units for
25  the 32-bit library) if PCRE is compiled with the default internal linkage size  the 32-bit library) if PCRE is compiled with the default internal linkage size,
26  of 2 bytes. If you want to process regular expressions that are truly enormous,  which is 2 bytes for the 8-bit and 16-bit libraries, and 4 bytes for the 32-bit
27    library. If you want to process regular expressions that are truly enormous,
28  you can compile PCRE with an internal linkage size of 3 or 4 (when building the  you can compile PCRE with an internal linkage size of 3 or 4 (when building the
29  16-bit or 32-bit library, 3 is rounded up to 4). See the <b>README</b> file in  16-bit or 32-bit library, 3 is rounded up to 4). See the <b>README</b> file in
30  the source distribution and the  the source distribution and the
# Line 36  All values in repeating quantifiers must Line 37  All values in repeating quantifiers must
37  </P>  </P>
38  <P>  <P>
39  There is no limit to the number of parenthesized subpatterns, but there can be  There is no limit to the number of parenthesized subpatterns, but there can be
40  no more than 65535 capturing subpatterns.  no more than 65535 capturing subpatterns. There is, however, a limit to the
41    depth of nesting of parenthesized subpatterns of all kinds. This is imposed in
42    order to limit the amount of system stack used at compile time. The limit can
43    be specified when PCRE is built; the default is 250.
44  </P>  </P>
45  <P>  <P>
46  There is a limit to the number of forward references to subsequent subpatterns  There is a limit to the number of forward references to subsequent subpatterns
# Line 50  maximum number of named subpatterns is 1 Line 54  maximum number of named subpatterns is 1
54  </P>  </P>
55  <P>  <P>
56  The maximum length of a name in a (*MARK), (*PRUNE), (*SKIP), or (*THEN) verb  The maximum length of a name in a (*MARK), (*PRUNE), (*SKIP), or (*THEN) verb
57  is 255 for the 8-bit library and 65535 for the 16-bit and 32-bit library.  is 255 for the 8-bit library and 65535 for the 16-bit and 32-bit libraries.
58  </P>  </P>
59  <P>  <P>
60  The maximum length of a subject string is the largest positive number that an  The maximum length of a subject string is the largest positive number that an
# Line 77  Cambridge CB2 3QH, England. Line 81  Cambridge CB2 3QH, England.
81  REVISION  REVISION
82  </b><br>  </b><br>
83  <P>  <P>
84  Last updated: 04 May 2012  Last updated: 05 November 2013
85  <br>  <br>
86  Copyright &copy; 1997-2012 University of Cambridge.  Copyright &copy; 1997-2013 University of Cambridge.
87  <br>  <br>
88  <p>  <p>
89  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.1403  
changed lines
  Added in v.1404

  ViewVC Help
Powered by ViewVC 1.1.5