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

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

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

revision 285 by ph10, Tue Sep 11 11:15:33 2007 UTC revision 286 by ph10, Mon Dec 17 14:46:11 2007 UTC
# Line 454  of an interactive pcretest run. Line 454  of an interactive pcretest run.
454    data> xyz    data> xyz
455    No match    No match
456  </pre>  </pre>
457    Note that unset capturing substrings that are not followed by one that is set
458    are not returned by <b>pcre_exec()</b>, and are not shown by <b>pcretest</b>. In
459    the following example, there are two capturing substrings, but when the first
460    data line is matched, the second, unset substring is not shown. An "internal"
461    unset substring is shown as "&#60;unset&#62;", as for the second data line.
462    <pre>
463        re&#62; /(a)|(b)/
464      data&#62; a
465       0: a
466       1: a
467      data&#62; b
468       0: b
469       1: &#60;unset&#62;
470       2: b
471    </pre>
472  If the strings contain any non-printing characters, they are output as \0x  If the strings contain any non-printing characters, they are output as \0x
473  escapes, or as \x{...} escapes if the <b>/8</b> modifier was present on the  escapes, or as \x{...} escapes if the <b>/8</b> modifier was present on the
474  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 674  Cambridge CB2 3QH, England. Line 689  Cambridge CB2 3QH, England.
689  </P>  </P>
690  <br><a name="SEC15" href="#TOC1">REVISION</a><br>  <br><a name="SEC15" href="#TOC1">REVISION</a><br>
691  <P>  <P>
692  Last updated: 11 September 2007  Last updated: 19 November 2007
693  <br>  <br>
694  Copyright &copy; 1997-2007 University of Cambridge.  Copyright &copy; 1997-2007 University of Cambridge.
695  <br>  <br>

Legend:
Removed from v.285  
changed lines
  Added in v.286

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12