320 |
.P |
.P |
321 |
4. Patterns that contain alternatives at the top level which do not all |
4. Patterns that contain alternatives at the top level which do not all |
322 |
start with the same pattern item may not work as expected when |
start with the same pattern item may not work as expected when |
323 |
\fBpcre_dfa_exec()\fP is used. For example, consider this pattern: |
PCRE_DFA_RESTART is used with \fBpcre_dfa_exec()\fP. For example, consider this |
324 |
|
pattern: |
325 |
.sp |
.sp |
326 |
1234|3789 |
1234|3789 |
327 |
.sp |
.sp |
346 |
data> 1237890 |
data> 1237890 |
347 |
0: 3789 |
0: 3789 |
348 |
.sp |
.sp |
349 |
|
Of course, instead of using PCRE_DFA_PARTIAL, the same technique of re-running |
350 |
|
the entire match can also be used with \fBpcre_dfa_exec()\fP. |
351 |
. |
. |
352 |
. |
. |
353 |
.SH AUTHOR |
.SH AUTHOR |
364 |
.rs |
.rs |
365 |
.sp |
.sp |
366 |
.nf |
.nf |
367 |
Last updated: 29 September 2009 |
Last updated: 18 October 2009 |
368 |
Copyright (c) 1997-2009 University of Cambridge. |
Copyright (c) 1997-2009 University of Cambridge. |
369 |
.fi |
.fi |