/[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 598 by ph10, Sat May 7 15:37:31 2011 UTC revision 599 by ph10, Sat May 7 16:09:06 2011 UTC
# Line 25  documentation. Line 25  documentation.
25  .rs  .rs
26  .TP 10  .TP 10
27  \fB-b\fP  \fB-b\fP
28  Behave as if each regex has the \fB/B\fP (show bytecode) modifier; the internal  Behave as if each regex has the \fB/B\fP (show byte code) modifier; the
29  form is output after compilation.  internal form is output after compilation.
30  .TP 10  .TP 10
31  \fB-C\fP  \fB-C\fP
32  Output the version number of the PCRE library, and all available information  Output the version number of the PCRE library, and all available information
# Line 76  set. Line 76  set.
76  Do not output the version number of \fBpcretest\fP at the start of execution.  Do not output the version number of \fBpcretest\fP at the start of execution.
77  .TP 10  .TP 10
78  \fB-S\fP \fIsize\fP  \fB-S\fP \fIsize\fP
79  On Unix-like systems, set the size of the runtime stack to \fIsize\fP  On Unix-like systems, set the size of the run-time stack to \fIsize\fP
80  megabytes.  megabytes.
81  .TP 10  .TP 10
82  \fB-t\fP  \fB-t\fP
# Line 154  pcretest to read the next line as a cont Line 154  pcretest to read the next line as a cont
154  A pattern may be followed by any number of modifiers, which are mostly single  A pattern may be followed by any number of modifiers, which are mostly single
155  characters. Following Perl usage, these are referred to below as, for example,  characters. Following Perl usage, these are referred to below as, for example,
156  "the \fB/i\fP modifier", even though the delimiter of the pattern need not  "the \fB/i\fP modifier", even though the delimiter of the pattern need not
157  always be a slash, and no slash is used when writing modifiers. Whitespace may  always be a slash, and no slash is used when writing modifiers. White space may
158  appear between the final pattern delimiter and the first modifier, and between  appear between the final pattern delimiter and the first modifier, and between
159  the modifiers themselves.  the modifiers themselves.
160  .P  .P
# Line 327  ignored. Line 327  ignored.
327  .rs  .rs
328  .sp  .sp
329  Before each data line is passed to \fBpcre_exec()\fP, leading and trailing  Before each data line is passed to \fBpcre_exec()\fP, leading and trailing
330  whitespace is removed, and it is then scanned for \e escapes. Some of these are  white space is removed, and it is then scanned for \e escapes. Some of these
331  pretty esoteric features, intended for checking out some of the more  are pretty esoteric features, intended for checking out some of the more
332  complicated features of PCRE. If you are just testing "ordinary" regular  complicated features of PCRE. If you are just testing "ordinary" regular
333  expressions, you probably don't need any of these. The following escapes are  expressions, you probably don't need any of these. The following escapes are
334  recognized:  recognized:
# Line 336  recognized: Line 336  recognized:
336    \ea         alarm (BEL, \ex07)    \ea         alarm (BEL, \ex07)
337    \eb         backspace (\ex08)    \eb         backspace (\ex08)
338    \ee         escape (\ex27)    \ee         escape (\ex27)
339    \ef         formfeed (\ex0c)    \ef         form feed (\ex0c)
340    \en         newline (\ex0a)    \en         newline (\ex0a)
341  .\" JOIN  .\" JOIN
342    \eqdd       set the PCRE_MATCH_LIMIT limit to dd    \eqdd       set the PCRE_MATCH_LIMIT limit to dd
# Line 712  function to distinguish printing and non Line 712  function to distinguish printing and non
712  .rs  .rs
713  .sp  .sp
714  The facilities described in this section are not available when the POSIX  The facilities described in this section are not available when the POSIX
715  inteface to PCRE is being used, that is, when the \fB/P\fP pattern modifier is  interface to PCRE is being used, that is, when the \fB/P\fP pattern modifier is
716  specified.  specified.
717  .P  .P
718  When the POSIX interface is not in use, you can cause \fBpcretest\fP to write a  When the POSIX interface is not in use, you can cause \fBpcretest\fP to write a
# Line 736  exact copy of the compiled pattern. If t Line 736  exact copy of the compiled pattern. If t
736  follows immediately after the compiled pattern. After writing the file,  follows immediately after the compiled pattern. After writing the file,
737  \fBpcretest\fP expects to read a new pattern.  \fBpcretest\fP expects to read a new pattern.
738  .P  .P
739  A saved pattern can be reloaded into \fBpcretest\fP by specifing < and a file  A saved pattern can be reloaded into \fBpcretest\fP by specifying < and a file
740  name instead of a pattern. The name of the file must not contain a < character,  name instead of a pattern. The name of the file must not contain a < character,
741  as otherwise \fBpcretest\fP will interpret the line as a pattern delimited by <  as otherwise \fBpcretest\fP will interpret the line as a pattern delimited by <
742  characters.  characters.
# Line 789  Cambridge CB2 3QH, England. Line 789  Cambridge CB2 3QH, England.
789  .rs  .rs
790  .sp  .sp
791  .nf  .nf
792  Last updated: 06 May 2011  Last updated: 07 May 2011
793  Copyright (c) 1997-2011 University of Cambridge.  Copyright (c) 1997-2011 University of Cambridge.
794  .fi  .fi

Legend:
Removed from v.598  
changed lines
  Added in v.599

  ViewVC Help
Powered by ViewVC 1.1.5