/[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 921 by ph10, Sat Feb 18 18:45:55 2012 UTC revision 932 by ph10, Fri Feb 24 18:54:43 2012 UTC
# Line 526  documentation). For those options that c Line 526  documentation). For those options that c
526  the pattern, the contents of the \fIoptions\fP argument specifies their  the pattern, the contents of the \fIoptions\fP argument specifies their
527  settings at the start of compilation and execution. The PCRE_ANCHORED,  settings at the start of compilation and execution. The PCRE_ANCHORED,
528  PCRE_BSR_\fIxxx\fP, PCRE_NEWLINE_\fIxxx\fP, PCRE_NO_UTF8_CHECK, and  PCRE_BSR_\fIxxx\fP, PCRE_NEWLINE_\fIxxx\fP, PCRE_NO_UTF8_CHECK, and
529  PCRE_NO_START_OPT options can be set at the time of matching as well as at  PCRE_NO_START_OPTIMIZE options can be set at the time of matching as well as at
530  compile time.  compile time.
531  .P  .P
532  If \fIerrptr\fP is NULL, \fBpcre_compile()\fP returns NULL immediately.  If \fIerrptr\fP is NULL, \fBpcre_compile()\fP returns NULL immediately.
# Line 1235  only if it follows something of variable Line 1235  only if it follows something of variable
1235  /^a\ed+z\ed+/ the returned value is "z", but for /^a\edz\ed/ the returned value  /^a\ed+z\ed+/ the returned value is "z", but for /^a\edz\ed/ the returned value
1236  is -1.  is -1.
1237  .sp  .sp
1238      PCRE_INFO_MAXLOOKBEHIND
1239    .sp
1240    Return the number of characters (NB not bytes) in the longest lookbehind
1241    assertion in the pattern. Note that the simple assertions \eb and \eB require a
1242    one-character lookbehind. This information is useful when doing multi-segment
1243    matching using the partial matching facilities.
1244    .sp
1245    PCRE_INFO_MINLENGTH    PCRE_INFO_MINLENGTH
1246  .sp  .sp
1247  If the pattern was studied and a minimum length for matching subject strings  If the pattern was studied and a minimum length for matching subject strings
# Line 1465  fields (not necessarily in this order): Line 1472  fields (not necessarily in this order):
1472  In the 16-bit version of this structure, the \fImark\fP field has type  In the 16-bit version of this structure, the \fImark\fP field has type
1473  "PCRE_UCHAR16 **".  "PCRE_UCHAR16 **".
1474  .P  .P
1475  The \fIflags\fP field is a bitmap that specifies which of the other fields  The \fIflags\fP field is used to specify which of the other fields are set. The
1476  are set. The flag bits are:  flag bits are:
1477  .sp  .sp
1478    PCRE_EXTRA_STUDY_DATA    PCRE_EXTRA_CALLOUT_DATA
1479    PCRE_EXTRA_EXECUTABLE_JIT    PCRE_EXTRA_EXECUTABLE_JIT
1480      PCRE_EXTRA_MARK
1481    PCRE_EXTRA_MATCH_LIMIT    PCRE_EXTRA_MATCH_LIMIT
1482    PCRE_EXTRA_MATCH_LIMIT_RECURSION    PCRE_EXTRA_MATCH_LIMIT_RECURSION
1483    PCRE_EXTRA_CALLOUT_DATA    PCRE_EXTRA_STUDY_DATA
1484    PCRE_EXTRA_TABLES    PCRE_EXTRA_TABLES
   PCRE_EXTRA_MARK  
1485  .sp  .sp
1486  Other flag bits should be set to zero. The \fIstudy_data\fP field and sometimes  Other flag bits should be set to zero. The \fIstudy_data\fP field and sometimes
1487  the \fIexecutable_jit\fP field are set in the \fBpcre_extra\fP block that is  the \fIexecutable_jit\fP field are set in the \fBpcre_extra\fP block that is
1488  returned by \fBpcre_study()\fP, together with the appropriate flag bits. You  returned by \fBpcre_study()\fP, together with the appropriate flag bits. You
1489  should not set these yourself, but you may add to the block by setting the  should not set these yourself, but you may add to the block by setting other
1490  other fields and their corresponding flag bits.  fields and their corresponding flag bits.
1491  .P  .P
1492  The \fImatch_limit\fP field provides a means of preventing PCRE from using up a  The \fImatch_limit\fP field provides a means of preventing PCRE from using up a
1493  vast amount of resources when running patterns that are not going to match,  vast amount of resources when running patterns that are not going to match,
# Line 2084  time. Line 2091  time.
2091  .sp  .sp
2092    PCRE_ERROR_JIT_STACKLIMIT (-27)    PCRE_ERROR_JIT_STACKLIMIT (-27)
2093  .sp  .sp
2094  This error is returned when a pattern that was successfully studied using the  This error is returned when a pattern that was successfully studied using a
2095  PCRE_STUDY_JIT_COMPILE option is being matched, but the memory available for  JIT compile option is being matched, but the memory available for the
2096  the just-in-time processing stack is not large enough. See the  just-in-time processing stack is not large enough. See the
2097  .\" HREF  .\" HREF
2098  \fBpcrejit\fP  \fBpcrejit\fP
2099  .\"  .\"
# Line 2646  Cambridge CB2 3QH, England. Line 2653  Cambridge CB2 3QH, England.
2653  .rs  .rs
2654  .sp  .sp
2655  .nf  .nf
2656  Last updated: 18 February 2012  Last updated: 24 February 2012
2657  Copyright (c) 1997-2012 University of Cambridge.  Copyright (c) 1997-2012 University of Cambridge.
2658  .fi  .fi

Legend:
Removed from v.921  
changed lines
  Added in v.932

  ViewVC Help
Powered by ViewVC 1.1.5