/[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 231 by ph10, Tue Sep 11 11:15:33 2007 UTC revision 273 by ph10, Mon Nov 19 10:09:04 2007 UTC
# Line 463  of an interactive \fBpcretest\fP run. Line 463  of an interactive \fBpcretest\fP run.
463    data> xyz    data> xyz
464    No match    No match
465  .sp  .sp
466    Note that unset capturing substrings that are not followed by one that is set
467    are not returned by \fBpcre_exec()\fP, and are not shown by \fBpcretest\fP. In
468    the following example, there are two capturing substrings, but when the first
469    data line is matched, the second, unset substring is not shown. An "internal"
470    unset substring is shown as "<unset>", as for the second data line.
471    .sp
472        re> /(a)|(b)/
473      data> a
474       0: a
475       1: a
476      data> b
477       0: b
478       1: <unset>
479       2: b
480    .sp
481  If the strings contain any non-printing characters, they are output as \e0x  If the strings contain any non-printing characters, they are output as \e0x
482  escapes, or as \ex{...} escapes if the \fB/8\fP modifier was present on the  escapes, or as \ex{...} escapes if the \fB/8\fP modifier was present on the
483  pattern. See below for the definition of non-printing characters. If the  pattern. See below for the definition of non-printing characters. If the
# Line 696  Cambridge CB2 3QH, England. Line 711  Cambridge CB2 3QH, England.
711  .rs  .rs
712  .sp  .sp
713  .nf  .nf
714  Last updated: 11 September 2007  Last updated: 19 November 2007
715  Copyright (c) 1997-2007 University of Cambridge.  Copyright (c) 1997-2007 University of Cambridge.
716  .fi  .fi

Legend:
Removed from v.231  
changed lines
  Added in v.273

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12