/[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 388 by ph10, Sun Mar 8 16:56:58 2009 UTC revision 389 by ph10, Sun Mar 15 18:24:05 2009 UTC
# Line 1237  documentation for a discussion of saving Line 1237  documentation for a discussion of saving
1237  .sp  .sp
1238  The unused bits of the \fIoptions\fP argument for \fBpcre_exec()\fP must be  The unused bits of the \fIoptions\fP argument for \fBpcre_exec()\fP must be
1239  zero. The only bits that may be set are PCRE_ANCHORED, PCRE_NEWLINE_\fIxxx\fP,  zero. The only bits that may be set are PCRE_ANCHORED, PCRE_NEWLINE_\fIxxx\fP,
1240  PCRE_NOTBOL, PCRE_NOTEOL, PCRE_NOTEMPTY, PCRE_NO_UTF8_CHECK and PCRE_PARTIAL.  PCRE_NOTBOL, PCRE_NOTEOL, PCRE_NOTEMPTY, PCRE_NO_START_OPTIMIZE,
1241    PCRE_NO_UTF8_CHECK and PCRE_PARTIAL.
1242  .sp  .sp
1243    PCRE_ANCHORED    PCRE_ANCHORED
1244  .sp  .sp
# Line 1324  PCRE_NOTEMPTY and PCRE_ANCHORED, and the Line 1325  PCRE_NOTEMPTY and PCRE_ANCHORED, and the
1325  starting offset (see below) and trying an ordinary match again. There is some  starting offset (see below) and trying an ordinary match again. There is some
1326  code that demonstrates how to do this in the \fIpcredemo.c\fP sample program.  code that demonstrates how to do this in the \fIpcredemo.c\fP sample program.
1327  .sp  .sp
1328      PCRE_NO_START_OPTIMIZE
1329    .sp
1330    There are a number of optimizations that \fBpcre_exec()\fP uses at the start of
1331    a match, in order to speed up the process. For example, if it is known that a
1332    match must start with a specific character, it searches the subject for that
1333    character, and fails immediately if it cannot find it, without actually running
1334    the main matching function. When callouts are in use, these optimizations can
1335    cause them to be skipped. This option disables the "start-up" optimizations,
1336    causing performance to suffer, but ensuring that the callouts do occur.
1337    .sp
1338    PCRE_NO_UTF8_CHECK    PCRE_NO_UTF8_CHECK
1339  .sp  .sp
1340  When PCRE_UTF8 is set at compile time, the validity of the subject as a UTF-8  When PCRE_UTF8 is set at compile time, the validity of the subject as a UTF-8
# Line 1982  Cambridge CB2 3QH, England. Line 1993  Cambridge CB2 3QH, England.
1993  .rs  .rs
1994  .sp  .sp
1995  .nf  .nf
1996  Last updated: 08 March 2009  Last updated: 15 March 2009
1997  Copyright (c) 1997-2009 University of Cambridge.  Copyright (c) 1997-2009 University of Cambridge.
1998  .fi  .fi

Legend:
Removed from v.388  
changed lines
  Added in v.389

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12