| 213 |
If any call to \fBpcre_exec()\fP in a \fB/g\fP or \fB/G\fP sequence matches an |
If any call to \fBpcre_exec()\fP in a \fB/g\fP or \fB/G\fP sequence matches an |
| 214 |
empty string, the next call is done with the PCRE_NOTEMPTY_ATSTART and |
empty string, the next call is done with the PCRE_NOTEMPTY_ATSTART and |
| 215 |
PCRE_ANCHORED flags set in order to search for another, non-empty, match at the |
PCRE_ANCHORED flags set in order to search for another, non-empty, match at the |
| 216 |
same point. If this second match fails, the start offset is advanced by one |
same point. If this second match fails, the start offset is advanced by one |
| 217 |
character, and the normal match is retried. This imitates the way Perl handles |
character, and the normal match is retried. This imitates the way Perl handles |
| 218 |
such cases when using the \fB/g\fP modifier or the \fBsplit()\fP function. |
such cases when using the \fB/g\fP modifier or the \fBsplit()\fP function. |
| 219 |
. |
. |
| 357 |
.\" JOIN |
.\" JOIN |
| 358 |
\eN pass the PCRE_NOTEMPTY option to \fBpcre_exec()\fP |
\eN pass the PCRE_NOTEMPTY option to \fBpcre_exec()\fP |
| 359 |
or \fBpcre_dfa_exec()\fP; if used twice, pass the |
or \fBpcre_dfa_exec()\fP; if used twice, pass the |
| 360 |
PCRE_NOTEMPTY_ATSTART option |
PCRE_NOTEMPTY_ATSTART option |
| 361 |
.\" JOIN |
.\" JOIN |
| 362 |
\eOdd set the size of the output vector passed to |
\eOdd set the size of the output vector passed to |
| 363 |
\fBpcre_exec()\fP to dd (any number of digits) |
\fBpcre_exec()\fP to dd (any number of digits) |
| 364 |
.\" JOIN |
.\" JOIN |
| 365 |
\eP pass the PCRE_PARTIAL_SOFT option to \fBpcre_exec()\fP |
\eP pass the PCRE_PARTIAL_SOFT option to \fBpcre_exec()\fP |
| 366 |
or \fBpcre_dfa_exec()\fP; if used twice, pass the |
or \fBpcre_dfa_exec()\fP; if used twice, pass the |
| 367 |
PCRE_PARTIAL_HARD option |
PCRE_PARTIAL_HARD option |
| 368 |
.\" JOIN |
.\" JOIN |
| 369 |
\eQdd set the PCRE_MATCH_LIMIT_RECURSION limit to dd |
\eQdd set the PCRE_MATCH_LIMIT_RECURSION limit to dd |
| 370 |
(any number of digits) |
(any number of digits) |
| 551 |
.sp |
.sp |
| 552 |
(Using the normal matching function on this data finds only "tang".) The |
(Using the normal matching function on this data finds only "tang".) The |
| 553 |
longest matching string is always given first (and numbered zero). After a |
longest matching string is always given first (and numbered zero). After a |
| 554 |
PCRE_ERROR_PARTIAL return, the output is "Partial match:", followed by the |
PCRE_ERROR_PARTIAL return, the output is "Partial match:", followed by the |
| 555 |
partially matching substring. |
partially matching substring. |
| 556 |
.P |
.P |
| 557 |
If \fB/g\fP is present on the pattern, the search for further matches resumes |
If \fB/g\fP is present on the pattern, the search for further matches resumes |