/[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 509 by ph10, Mon Oct 5 10:59:35 2009 UTC revision 510 by ph10, Sat Mar 27 17:45:29 2010 UTC
# Line 747  out of use. To avoid confusion, they hav Line 747  out of use. To avoid confusion, they hav
747    57  \eg is not followed by a braced, angle-bracketed, or quoted    57  \eg is not followed by a braced, angle-bracketed, or quoted
748          name/number or by a plain number          name/number or by a plain number
749    58  a numbered reference must not be zero    58  a numbered reference must not be zero
750    59  (*VERB) with an argument is not supported    59  an argument is not allowed for (*ACCEPT), (*FAIL), or (*COMMIT)
751    60  (*VERB) not recognized    60  (*VERB) not recognized
752    61  number is too big    61  number is too big
753    62  subpattern name expected    62  subpattern name expected
754    63  digit expected after (?+    63  digit expected after (?+
755    64  ] is an invalid data character in JavaScript compatibility mode    64  ] is an invalid data character in JavaScript compatibility mode
756      65  different names for subpatterns of the same number are not allowed
757      66  (*MARK) must have an argument
758  .sp  .sp
759  The numbers 32 and 10000 in errors 48 and 49 are defaults; different values may  The numbers 32 and 10000 in errors 48 and 49 are defaults; different values may
760  be used if the limits were changed when PCRE was built.  be used if the limits were changed when PCRE was built.
# Line 1210  fields (not necessarily in this order): Line 1212  fields (not necessarily in this order):
1212    unsigned long int \fImatch_limit_recursion\fP;    unsigned long int \fImatch_limit_recursion\fP;
1213    void *\fIcallout_data\fP;    void *\fIcallout_data\fP;
1214    const unsigned char *\fItables\fP;    const unsigned char *\fItables\fP;
1215      unsigned char **\fImark\fP;
1216  .sp  .sp
1217  The \fIflags\fP field is a bitmap that specifies which of the other fields  The \fIflags\fP field is a bitmap that specifies which of the other fields
1218  are set. The flag bits are:  are set. The flag bits are:
# Line 1219  are set. The flag bits are: Line 1222  are set. The flag bits are:
1222    PCRE_EXTRA_MATCH_LIMIT_RECURSION    PCRE_EXTRA_MATCH_LIMIT_RECURSION
1223    PCRE_EXTRA_CALLOUT_DATA    PCRE_EXTRA_CALLOUT_DATA
1224    PCRE_EXTRA_TABLES    PCRE_EXTRA_TABLES
1225      PCRE_EXTRA_MARK
1226  .sp  .sp
1227  Other flag bits should be set to zero. The \fIstudy_data\fP field is set in the  Other flag bits should be set to zero. The \fIstudy_data\fP field is set in the
1228  \fBpcre_extra\fP block that is returned by \fBpcre_study()\fP, together with  \fBpcre_extra\fP block that is returned by \fBpcre_study()\fP, together with
# Line 1281  called. See the Line 1285  called. See the
1285  \fBpcreprecompile\fP  \fBpcreprecompile\fP
1286  .\"  .\"
1287  documentation for a discussion of saving compiled patterns for later use.  documentation for a discussion of saving compiled patterns for later use.
1288    .P
1289    If PCRE_EXTRA_MARK is set in the \fIflags\fP field, the \fImark\fP field must
1290    be set to point to a \fBchar *\fP variable. If the pattern contains any
1291    backtracking control verbs such as (*MARK:NAME), and the execution ends up with
1292    a name to pass back, a pointer to the name string (zero terminated) is placed
1293    in the variable pointed to by the \fImark\fP field. The names are within the
1294    compiled pattern; if you wish to retain such a name you must copy it before
1295    freeing the memory of a compiled pattern. If there is no name to pass back, the
1296    variable pointed to by the \fImark\fP field set to NULL. For details of the
1297    backtracking control verbs, see the section entitled
1298    .\" HTML <a href="pcrepattern#backtrackcontrol">
1299    .\" </a>
1300    "Backtracking control"
1301    .\"
1302    in the
1303    .\" HREF
1304    \fBpcrepattern\fP
1305    .\"
1306    documentation.
1307    .
1308  .  .
1309  .\" HTML <a name="execoptions"></a>  .\" HTML <a name="execoptions"></a>
1310  .SS "Option bits for \fBpcre_exec()\fP"  .SS "Option bits for \fBpcre_exec()\fP"
# Line 2075  Cambridge CB2 3QH, England. Line 2099  Cambridge CB2 3QH, England.
2099  .rs  .rs
2100  .sp  .sp
2101  .nf  .nf
2102  Last updated: 03 October 2009  Last updated: 26 March 2010
2103  Copyright (c) 1997-2009 University of Cambridge.  Copyright (c) 1997-2010 University of Cambridge.
2104  .fi  .fi

Legend:
Removed from v.509  
changed lines
  Added in v.510

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12