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

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

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

revision 1403 by ph10, Tue Nov 12 17:05:55 2013 UTC revision 1404 by ph10, Tue Nov 19 15:36:57 2013 UTC
# Line 462  documentation. Line 462  documentation.
462  .sp  .sp
463    PCRE_CONFIG_PARENS_LIMIT    PCRE_CONFIG_PARENS_LIMIT
464  .sp  .sp
465  The output is a long integer that gives the maximum depth of nesting of  The output is a long integer that gives the maximum depth of nesting of
466  parentheses (of any kind) in a pattern. This limit is imposed to cap the amount  parentheses (of any kind) in a pattern. This limit is imposed to cap the amount
467  of system stack used when a pattern is compiled. It is specified when PCRE is  of system stack used when a pattern is compiled. It is specified when PCRE is
468  built; the default is 250.  built; the default is 250.
469  .sp  .sp
# Line 657  ignored except when escaped or inside a Line 657  ignored except when escaped or inside a
657  is not allowed within sequences such as (?> that introduce various  is not allowed within sequences such as (?> that introduce various
658  parenthesized subpatterns, nor within a numerical quantifier such as {1,3}.  parenthesized subpatterns, nor within a numerical quantifier such as {1,3}.
659  However, ignorable white space is permitted between an item and a following  However, ignorable white space is permitted between an item and a following
660  quantifier and between a quantifier and a following + that indicates  quantifier and between a quantifier and a following + that indicates
661  possessiveness.  possessiveness.
662  .P  .P
663  White space did not used to include the VT character (code 11), because Perl  White space did not used to include the VT character (code 11), because Perl
# Line 815  in Perl. Line 815  in Perl.
815  .sp  .sp
816    PCRE_NO_AUTO_POSSESS    PCRE_NO_AUTO_POSSESS
817  .sp  .sp
818  If this option is set, it disables "auto-possessification". This is an  If this option is set, it disables "auto-possessification". This is an
819  optimization that, for example, turns a+b into a++b in order to avoid  optimization that, for example, turns a+b into a++b in order to avoid
820  backtracks into a+ that can never be successful. However, if callouts are in  backtracks into a+ that can never be successful. However, if callouts are in
821  use, auto-possessification means that some of them are never taken. You can set  use, auto-possessification means that some of them are never taken. You can set
822  this option if you want the matching functions to do a full unoptimized search  this option if you want the matching functions to do a full unoptimized search
823  and run all the callouts, but it is mainly provided for testing purposes.  and run all the callouts, but it is mainly provided for testing purposes.
824  .sp  .sp
825    PCRE_NO_START_OPTIMIZE    PCRE_NO_START_OPTIMIZE
# Line 988  have fallen out of use. To avoid confusi Line 988  have fallen out of use. To avoid confusi
988    78  setting UTF is disabled by the application    78  setting UTF is disabled by the application
989    79  non-hex character in \ex{} (closing brace missing?)    79  non-hex character in \ex{} (closing brace missing?)
990    80  non-octal character in \eo{} (closing brace missing?)    80  non-octal character in \eo{} (closing brace missing?)
991    81  missing opening brace after \eo    81  missing opening brace after \eo
992    82  parentheses are too deeply nested    82  parentheses are too deeply nested
993    83  invalid range in character class    83  invalid range in character class
994  .sp  .sp
# Line 1331  be used. Line 1331  be used.
1331  .sp  .sp
1332    PCRE_INFO_MATCH_EMPTY    PCRE_INFO_MATCH_EMPTY
1333  .sp  .sp
1334  Return 1 if the pattern can match an empty string, otherwise 0. The fourth  Return 1 if the pattern can match an empty string, otherwise 0. The fourth
1335  argument should point to an \fBint\fP variable.  argument should point to an \fBint\fP variable.
1336  .sp  .sp
1337    PCRE_INFO_MATCHLIMIT    PCRE_INFO_MATCHLIMIT
1338  .sp  .sp
# Line 2816  matching string is given first. If there Line 2816  matching string is given first. If there
2816  \fIovector\fP, the yield of the function is zero, and the vector is filled with  \fIovector\fP, the yield of the function is zero, and the vector is filled with
2817  the longest matches. Unlike \fBpcre_exec()\fP, \fBpcre_dfa_exec()\fP can use  the longest matches. Unlike \fBpcre_exec()\fP, \fBpcre_dfa_exec()\fP can use
2818  the entire \fIovector\fP for returning matched strings.  the entire \fIovector\fP for returning matched strings.
2819    .P
2820  NOTE: PCRE's "auto-possessification" optimization usually applies to character  NOTE: PCRE's "auto-possessification" optimization usually applies to character
2821  repeats at the end of a pattern (as well as internally). For example, the  repeats at the end of a pattern (as well as internally). For example, the
2822  pattern "a\ed+" is compiled as if it were "a\ed++" because there is no point  pattern "a\ed+" is compiled as if it were "a\ed++" because there is no point

Legend:
Removed from v.1403  
changed lines
  Added in v.1404

  ViewVC Help
Powered by ViewVC 1.1.5