/[pcre]/code/trunk/doc/pcretest.1
ViewVC logotype

Diff of /code/trunk/doc/pcretest.1

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 434 by ph10, Mon Aug 31 17:10:26 2009 UTC revision 435 by ph10, Sat Sep 5 10:20:44 2009 UTC
# Line 461  This section describes the output when t Line 461  This section describes the output when t
461  .P  .P
462  When a match succeeds, pcretest outputs the list of captured substrings that  When a match succeeds, pcretest outputs the list of captured substrings that
463  \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
464  the whole pattern. Otherwise, it outputs "No match" or "Partial match:"  the whole pattern. Otherwise, it outputs "No match" when the return is
465  followed by the partially matching substring when \fBpcre_exec()\fP returns  PCRE_ERROR_NOMATCH, and "Partial match:" followed by the partially matching
466  PCRE_ERROR_NOMATCH or PCRE_ERROR_PARTIAL, respectively, and otherwise the PCRE  substring when \fBpcre_exec()\fP returns PCRE_ERROR_PARTIAL. For any other
467  negative error number. Here is an example of an interactive \fBpcretest\fP run.  returns, it outputs the PCRE negative error number. Here is an example of an
468    interactive \fBpcretest\fP run.
469  .sp  .sp
470    $ pcretest    $ pcretest
471    PCRE version 7.0 30-Nov-2006    PCRE version 7.0 30-Nov-2006
# Line 726  Cambridge CB2 3QH, England. Line 727  Cambridge CB2 3QH, England.
727  .rs  .rs
728  .sp  .sp
729  .nf  .nf
730  Last updated: 29 August 2009  Last updated: 05 September 2009
731  Copyright (c) 1997-2009 University of Cambridge.  Copyright (c) 1997-2009 University of Cambridge.
732  .fi  .fi

Legend:
Removed from v.434  
changed lines
  Added in v.435

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12