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 |
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 |
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 |