/[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 612 by ph10, Sat Jul 2 15:20:59 2011 UTC revision 626 by ph10, Wed Jul 20 17:51:54 2011 UTC
# Line 254  There are yet more modifiers for control Line 254  There are yet more modifiers for control
254  operates.  operates.
255  .P  .P
256  The \fB/+\fP modifier requests that as well as outputting the substring that  The \fB/+\fP modifier requests that as well as outputting the substring that
257  matched the entire pattern, pcretest should in addition output the remainder of  matched the entire pattern, \fBpcretest\fP should in addition output the
258  the subject string. This is useful for tests where the subject contains  remainder of the subject string. This is useful for tests where the subject
259  multiple copies of the same substring.  contains multiple copies of the same substring. If the \fB+\fP modifier appears
260    twice, the same action is taken for captured substrings. In each case the
261    remainder is output on the following line with a plus character following the
262    capture number.
263    .P
264    The \fB/=\fP modifier requests that the values of all potential captured
265    parentheses be output after a match by \fBpcre_exec()\fP. By default, only
266    those up to the highest one actually used in the match are output
267    (corresponding to the return code from \fBpcre_exec()\fP). Values in the
268    offsets vector corresponding to higher numbers should be set to -1, and these
269    are output as "<unset>". This modifier gives a way of checking that this is
270    happening.
271  .P  .P
272  The \fB/B\fP modifier is a debugging feature. It requests that \fBpcretest\fP  The \fB/B\fP modifier is a debugging feature. It requests that \fBpcretest\fP
273  output a representation of the compiled byte code after compilation. Normally  output a representation of the compiled byte code after compilation. Normally
# Line 812  Cambridge CB2 3QH, England. Line 823  Cambridge CB2 3QH, England.
823  .rs  .rs
824  .sp  .sp
825  .nf  .nf
826  Last updated: 02 July 2011  Last updated: 20 July 2011
827  Copyright (c) 1997-2011 University of Cambridge.  Copyright (c) 1997-2011 University of Cambridge.
828  .fi  .fi

Legend:
Removed from v.612  
changed lines
  Added in v.626

  ViewVC Help
Powered by ViewVC 1.1.5