/[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 510 by ph10, Sat Mar 27 17:45:29 2010 UTC revision 513 by ph10, Mon May 3 11:13:37 2010 UTC
# Line 553  set, any backslash in a pattern that is Line 553  set, any backslash in a pattern that is
553  special meaning causes an error, thus reserving these combinations for future  special meaning causes an error, thus reserving these combinations for future
554  expansion. By default, as in Perl, a backslash followed by a letter with no  expansion. By default, as in Perl, a backslash followed by a letter with no
555  special meaning is treated as a literal. (Perl can, however, be persuaded to  special meaning is treated as a literal. (Perl can, however, be persuaded to
556  give a warning for this.) There are at present no other features controlled by  give an error for this, by running it with the -w option.) There are at present
557  this option. It can also be set by a (?X) option setting within a pattern.  no other features controlled by this option. It can also be set by a (?X)
558    option setting within a pattern.
559  .sp  .sp
560    PCRE_FIRSTLINE    PCRE_FIRSTLINE
561  .sp  .sp
# Line 1212  fields (not necessarily in this order): Line 1213  fields (not necessarily in this order):
1213    unsigned long int \fImatch_limit_recursion\fP;    unsigned long int \fImatch_limit_recursion\fP;
1214    void *\fIcallout_data\fP;    void *\fIcallout_data\fP;
1215    const unsigned char *\fItables\fP;    const unsigned char *\fItables\fP;
1216    unsigned char **\fImark\fP;    unsigned char **\fImark\fP;
1217  .sp  .sp
1218  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
1219  are set. The flag bits are:  are set. The flag bits are:
# Line 1222  are set. The flag bits are: Line 1223  are set. The flag bits are:
1223    PCRE_EXTRA_MATCH_LIMIT_RECURSION    PCRE_EXTRA_MATCH_LIMIT_RECURSION
1224    PCRE_EXTRA_CALLOUT_DATA    PCRE_EXTRA_CALLOUT_DATA
1225    PCRE_EXTRA_TABLES    PCRE_EXTRA_TABLES
1226    PCRE_EXTRA_MARK    PCRE_EXTRA_MARK
1227  .sp  .sp
1228  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
1229  \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 1287  called. See the Line 1288  called. See the
1288  documentation for a discussion of saving compiled patterns for later use.  documentation for a discussion of saving compiled patterns for later use.
1289  .P  .P
1290  If PCRE_EXTRA_MARK is set in the \fIflags\fP field, the \fImark\fP field must  If PCRE_EXTRA_MARK is set in the \fIflags\fP field, the \fImark\fP field must
1291  be set to point to a \fBchar *\fP variable. If the pattern contains any  be set to point to a \fBchar *\fP variable. If the pattern contains any
1292  backtracking control verbs such as (*MARK:NAME), and the execution ends up with  backtracking control verbs such as (*MARK:NAME), and the execution ends up with
1293  a name to pass back, a pointer to the name string (zero terminated) is placed  a name to pass back, a pointer to the name string (zero terminated) is placed
1294  in the variable pointed to by the \fImark\fP field. The names are within the  in the variable pointed to by the \fImark\fP field. The names are within the
# Line 2099  Cambridge CB2 3QH, England. Line 2100  Cambridge CB2 3QH, England.
2100  .rs  .rs
2101  .sp  .sp
2102  .nf  .nf
2103  Last updated: 26 March 2010  Last updated: 03 May 2010
2104  Copyright (c) 1997-2010 University of Cambridge.  Copyright (c) 1997-2010 University of Cambridge.
2105  .fi  .fi

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

  ViewVC Help
Powered by ViewVC 1.1.5