460 |
.P |
.P |
461 |
When a match succeeds, pcretest outputs the list of captured substrings that |
When a match succeeds, pcretest outputs the list of captured substrings that |
462 |
\fBpcre_exec()\fP returns, starting with number 0 for the string that matched |
\fBpcre_exec()\fP returns, starting with number 0 for the string that matched |
463 |
the whole pattern. Otherwise, it outputs "No match" or "Partial match" |
the whole pattern. Otherwise, it outputs "No match" or "Partial match" followed |
464 |
when \fBpcre_exec()\fP returns PCRE_ERROR_NOMATCH or PCRE_ERROR_PARTIAL, |
by the partially matching substring when \fBpcre_exec()\fP returns |
465 |
respectively, and otherwise the PCRE negative error number. Here is an example |
PCRE_ERROR_NOMATCH or PCRE_ERROR_PARTIAL, respectively, and otherwise the PCRE |
466 |
of an interactive \fBpcretest\fP run. |
negative error number. Here is an example of an interactive \fBpcretest\fP run. |
467 |
.sp |
.sp |
468 |
$ pcretest |
$ pcretest |
469 |
PCRE version 7.0 30-Nov-2006 |
PCRE version 7.0 30-Nov-2006 |
723 |
.rs |
.rs |
724 |
.sp |
.sp |
725 |
.nf |
.nf |
726 |
Last updated: 10 March 2009 |
Last updated: 25 August 2009 |
727 |
Copyright (c) 1997-2009 University of Cambridge. |
Copyright (c) 1997-2009 University of Cambridge. |
728 |
.fi |
.fi |