/[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 1362 by ph10, Tue Aug 27 15:49:16 2013 UTC revision 1363 by ph10, Tue Oct 1 16:54:40 2013 UTC
# Line 1  Line 1 
1  .TH PCRETEST 1 "27 August 2013" "PCRE 8.34"  .TH PCRETEST 1 "01 October 2013" "PCRE 8.34"
2  .SH NAME  .SH NAME
3  pcretest - a program for testing Perl-compatible regular expressions.  pcretest - a program for testing Perl-compatible regular expressions.
4  .SH SYNOPSIS  .SH SYNOPSIS
# Line 155  Output the size of each compiled pattern Line 155  Output the size of each compiled pattern
155  equivalent to adding \fB/M\fP to each regular expression. The size is given in  equivalent to adding \fB/M\fP to each regular expression. The size is given in
156  bytes for both libraries.  bytes for both libraries.
157  .TP 10  .TP 10
158    \fB-O\fP
159    Behave as if each pattern has the \fB/O\fP modifier, that is disable
160    auto-possessification for all patterns.
161    .TP 10
162  \fB-o\fP \fIosize\fP  \fB-o\fP \fIosize\fP
163  Set the number of elements in the output vector that is used when calling  Set the number of elements in the output vector that is used when calling
164  \fBpcre[16|32]_exec()\fP or \fBpcre[16|32]_dfa_exec()\fP to be \fIosize\fP. The  \fBpcre[16|32]_exec()\fP or \fBpcre[16|32]_dfa_exec()\fP to be \fIosize\fP. The
# Line 324  sections. Line 328  sections.
328    \fB/M\fP              show compiled memory size    \fB/M\fP              show compiled memory size
329    \fB/m\fP              set PCRE_MULTILINE    \fB/m\fP              set PCRE_MULTILINE
330    \fB/N\fP              set PCRE_NO_AUTO_CAPTURE    \fB/N\fP              set PCRE_NO_AUTO_CAPTURE
331      \fB/O\fP              set PCRE_NO_AUTO_POSSESSIFY
332    \fB/P\fP              use the POSIX wrapper    \fB/P\fP              use the POSIX wrapper
333    \fB/S\fP              study the pattern after compilation    \fB/S\fP              study the pattern after compilation
334    \fB/s\fP              set PCRE_DOTALL    \fB/s\fP              set PCRE_DOTALL
# Line 380  options that do not correspond to anythi Line 385  options that do not correspond to anythi
385    \fB/f\fP              PCRE_FIRSTLINE    \fB/f\fP              PCRE_FIRSTLINE
386    \fB/J\fP              PCRE_DUPNAMES    \fB/J\fP              PCRE_DUPNAMES
387    \fB/N\fP              PCRE_NO_AUTO_CAPTURE    \fB/N\fP              PCRE_NO_AUTO_CAPTURE
388      \fB/O\fP              PCRE_NO_AUTO_POSSESSIFY
389    \fB/U\fP              PCRE_UNGREEDY    \fB/U\fP              PCRE_UNGREEDY
390    \fB/W\fP              PCRE_UCP    \fB/W\fP              PCRE_UCP
391    \fB/X\fP              PCRE_EXTRA    \fB/X\fP              PCRE_EXTRA
# Line 512  expression has been compiled, and the re Line 518  expression has been compiled, and the re
518  matched. There are a number of qualifying characters that may follow \fB/S\fP.  matched. There are a number of qualifying characters that may follow \fB/S\fP.
519  They may appear in any order.  They may appear in any order.
520  .P  .P
521  If \fBS\fP is followed by an exclamation mark, \fBpcre[16|32]_study()\fP is called  If \fB/S\fP is followed by an exclamation mark, \fBpcre[16|32]_study()\fP is
522  with the PCRE_STUDY_EXTRA_NEEDED option, causing it always to return a  called with the PCRE_STUDY_EXTRA_NEEDED option, causing it always to return a
523  \fBpcre_extra\fP block, even when studying discovers no useful information.  \fBpcre_extra\fP block, even when studying discovers no useful information.
524  .P  .P
525  If \fB/S\fP is followed by a second S character, it suppresses studying, even  If \fB/S\fP is followed by a second S character, it suppresses studying, even
# Line 1098  Cambridge CB2 3QH, England. Line 1104  Cambridge CB2 3QH, England.
1104  .rs  .rs
1105  .sp  .sp
1106  .nf  .nf
1107  Last updated: 27 August 2013  Last updated: 01 October 2013
1108  Copyright (c) 1997-2013 University of Cambridge.  Copyright (c) 1997-2013 University of Cambridge.
1109  .fi  .fi

Legend:
Removed from v.1362  
changed lines
  Added in v.1363

  ViewVC Help
Powered by ViewVC 1.1.5