119 |
/caseless/i |
/caseless/i |
120 |
|
|
121 |
These modifier letters have the same effect as they do in |
These modifier letters have the same effect as they do in |
122 |
Perl. There are others which set PCRE options that do not |
Perl. There are others that set PCRE options that do not |
123 |
correspond to anything in Perl: /A, /E, and /X set |
correspond to anything in Perl: /A, /E, /N, /U, and /X set |
124 |
PCRE_ANCHORED, PCRE_DOLLAR_ENDONLY, and PCRE_EXTRA respec- |
PCRE_ANCHORED, PCRE_DOLLAR_ENDONLY, PCRE_NO_AUTO_CAPTURE, |
125 |
tively. |
PCRE_UNGREEDY, and PCRE_EXTRA respectively. |
126 |
|
|
127 |
Searching for all possible matches within each subject |
Searching for all possible matches within each subject |
128 |
string can be requested by the /g or /G modifier. After |
string can be requested by the /g or /G modifier. After |
199 |
printing characters in output strings to be printed using |
printing characters in output strings to be printed using |
200 |
the \x{hh...} notation if they are valid UTF-8 sequences. |
the \x{hh...} notation if they are valid UTF-8 sequences. |
201 |
|
|
202 |
|
If the /? modifier is used with /8, it causes pcretest to |
203 |
|
call pcre_compile() with the PCRE_NO_UTF8_CHECK option, to |
204 |
|
suppress the checking of the string for UTF-8 validity. |
205 |
|
|
206 |
|
|
207 |
CALLOUTS |
CALLOUTS |
208 |
|
|
259 |
after a successful match (any decimal number |
after a successful match (any decimal number |
260 |
less than 32) |
less than 32) |
261 |
\Cname call pcre_copy_named_substring() for substring |
\Cname call pcre_copy_named_substring() for substring |
262 |
|
|
263 |
"name" after a successful match (name termin- |
"name" after a successful match (name termin- |
264 |
ated by next non alphanumeric character) |
ated by next non alphanumeric character) |
265 |
\C+ show the current captured substrings at callout |
\C+ show the current captured substrings at callout |
266 |
time |
time |
267 |
|
\C- do not supply a callout function |
|
C- do not supply a callout function |
|
268 |
\C!n return 1 instead of 0 when callout number n is |
\C!n return 1 instead of 0 when callout number n is |
269 |
reached |
reached |
270 |
\C!n!m return 1 instead of 0 when callout number n is |
\C!n!m return 1 instead of 0 when callout number n is |
285 |
pcre_exec() to dd (any number of decimal |
pcre_exec() to dd (any number of decimal |
286 |
digits) |
digits) |
287 |
\Z pass the PCRE_NOTEOL option to pcre_exec() |
\Z pass the PCRE_NOTEOL option to pcre_exec() |
288 |
|
\? pass the PCRE_NO_UTF8_CHECK option to |
289 |
|
pcre_exec() |
290 |
|
|
291 |
If \M is present, pcretest calls pcre_exec() several times, |
If \M is present, pcretest calls pcre_exec() several times, |
292 |
with different values in the match_limit field of the |
with different values in the match_limit field of the |
312 |
API to be used, only B, and Z have any effect, causing |
API to be used, only B, and Z have any effect, causing |
313 |
REG_NOTBOL and REG_NOTEOL to be passed to regexec() respec- |
REG_NOTBOL and REG_NOTEOL to be passed to regexec() respec- |
314 |
tively. |
tively. |
|
|
|
315 |
The use of \x{hh...} to represent UTF-8 characters is not |
The use of \x{hh...} to represent UTF-8 characters is not |
316 |
dependent on the use of the /8 modifier on the pattern. It |
dependent on the use of the /8 modifier on the pattern. It |
317 |
is recognized always. There may be any number of hexadecimal |
is recognized always. There may be any number of hexadecimal |
383 |
University Computing Service, |
University Computing Service, |
384 |
Cambridge CB2 3QG, England. |
Cambridge CB2 3QG, England. |
385 |
|
|
386 |
Last updated: 03 February 2003 |
Last updated: 20 August 2003 |
387 |
Copyright (c) 1997-2003 University of Cambridge. |
Copyright (c) 1997-2003 University of Cambridge. |