/[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 922 by ph10, Mon Feb 20 18:44:42 2012 UTC
# Line 1465  fields (not necessarily in this order): Line 1465  fields (not necessarily in this order):
1465  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
1466  "PCRE_UCHAR16 **".  "PCRE_UCHAR16 **".
1467  .P  .P
1468  The \fIflags\fP field is a bitmap that specifies which of the other fields  The \fIflags\fP field is mostly used to specify which of the other fields are
1469  are set. The flag bits are:  set. The flag bits are:
1470  .sp  .sp
1471    PCRE_EXTRA_STUDY_DATA    PCRE_EXTRA_CALLOUT_DATA
1472    PCRE_EXTRA_EXECUTABLE_JIT    PCRE_EXTRA_EXECUTABLE_JIT
1473      PCRE_EXTRA_MARK
1474    PCRE_EXTRA_MATCH_LIMIT    PCRE_EXTRA_MATCH_LIMIT
1475    PCRE_EXTRA_MATCH_LIMIT_RECURSION    PCRE_EXTRA_MATCH_LIMIT_RECURSION
1476    PCRE_EXTRA_CALLOUT_DATA    PCRE_EXTRA_STUDY_DATA
1477    PCRE_EXTRA_TABLES    PCRE_EXTRA_TABLES
1478    PCRE_EXTRA_MARK    PCRE_EXTRA_USED_JIT
1479  .sp  .sp
1480  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
1481  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
1482  returned by \fBpcre_study()\fP, together with the appropriate flag bits. You  returned by \fBpcre_study()\fP, together with the appropriate flag bits. You
1483  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
1484  other fields and their corresponding flag bits.  fields and their corresponding flag bits.
1485    .P
1486    The PCRE_EXTRA_USED_JIT flag bit is different to the other bits. It does not
1487    indicate the presence of data in another field. Instead, it is set by
1488    \fBpcre_exec()\fP if matching was done using JIT-compiled code, and cleared if
1489    the interpreter was used. You can inspect this bit after a match.
1490  .P  .P
1491  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
1492  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 2090  time.
2090  .sp  .sp
2091    PCRE_ERROR_JIT_STACKLIMIT (-27)    PCRE_ERROR_JIT_STACKLIMIT (-27)
2092  .sp  .sp
2093  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
2094  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
2095  the just-in-time processing stack is not large enough. See the  just-in-time processing stack is not large enough. See the
2096  .\" HREF  .\" HREF
2097  \fBpcrejit\fP  \fBpcrejit\fP
2098  .\"  .\"
# Line 2646  Cambridge CB2 3QH, England. Line 2652  Cambridge CB2 3QH, England.
2652  .rs  .rs
2653  .sp  .sp
2654  .nf  .nf
2655  Last updated: 18 February 2012  Last updated: 20 February 2012
2656  Copyright (c) 1997-2012 University of Cambridge.  Copyright (c) 1997-2012 University of Cambridge.
2657  .fi  .fi

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

  ViewVC Help
Powered by ViewVC 1.1.5