/[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 925 by ph10, Mon Feb 20 18:44:42 2012 UTC revision 926 by ph10, Wed Feb 22 15:01:32 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 mostly used to specify which of the other fields are  The \fIflags\fP field is used to specify which of the other fields are set. The
1469  set. The flag bits are:  flag bits are:
1470  .sp  .sp
1471    PCRE_EXTRA_CALLOUT_DATA    PCRE_EXTRA_CALLOUT_DATA
1472    PCRE_EXTRA_EXECUTABLE_JIT    PCRE_EXTRA_EXECUTABLE_JIT
# Line 1475  set. The flag bits are: Line 1475  set. The flag bits are:
1475    PCRE_EXTRA_MATCH_LIMIT_RECURSION    PCRE_EXTRA_MATCH_LIMIT_RECURSION
1476    PCRE_EXTRA_STUDY_DATA    PCRE_EXTRA_STUDY_DATA
1477    PCRE_EXTRA_TABLES    PCRE_EXTRA_TABLES
   PCRE_EXTRA_USED_JIT  
1478  .sp  .sp
1479  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
1480  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
# Line 1483  returned by \fBpcre_study()\fP, together Line 1482  returned by \fBpcre_study()\fP, together
1482  should not set these yourself, but you may add to the block by setting other  should not set these yourself, but you may add to the block by setting other
1483  fields and their corresponding flag bits.  fields and their corresponding flag bits.
1484  .P  .P
 The PCRE_EXTRA_USED_JIT flag bit is different to the other bits. It does not  
 indicate the presence of data in another field. Instead, it is set by  
 \fBpcre_exec()\fP if matching was done using JIT-compiled code, and cleared if  
 the interpreter was used. You can inspect this bit after a match.  
 .P  
1485  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
1486  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,
1487  but which have a very large number of possibilities in their search trees. The  but which have a very large number of possibilities in their search trees. The
# Line 2652  Cambridge CB2 3QH, England. Line 2646  Cambridge CB2 3QH, England.
2646  .rs  .rs
2647  .sp  .sp
2648  .nf  .nf
2649  Last updated: 20 February 2012  Last updated: 22 February 2012
2650  Copyright (c) 1997-2012 University of Cambridge.  Copyright (c) 1997-2012 University of Cambridge.
2651  .fi  .fi

Legend:
Removed from v.925  
changed lines
  Added in v.926

  ViewVC Help
Powered by ViewVC 1.1.5