| 97 |
stdout, and prompts for each line of input, using "re>" to prompt for regular |
stdout, and prompts for each line of input, using "re>" to prompt for regular |
| 98 |
expressions, and "data>" to prompt for data lines. |
expressions, and "data>" to prompt for data lines. |
| 99 |
.P |
.P |
| 100 |
|
When \fBpcretest\fP is built, a configuration option can specify that it should |
| 101 |
|
be linked with the \fBlibreadline\fP library. When this is done, if the input |
| 102 |
|
is from a terminal, it is read using the \fBreadline()\fP function. This |
| 103 |
|
provides line-editing and history facilities. The output from the \fB-help\fP |
| 104 |
|
option states whether or not \fBreadline()\fP will be used. |
| 105 |
|
.P |
| 106 |
The program handles any number of sets of input on a single input file. Each |
The program handles any number of sets of input on a single input file. Each |
| 107 |
set starts with a regular expression, and continues with any number of data |
set starts with a regular expression, and continues with any number of data |
| 108 |
lines to be matched against the pattern. |
lines to be matched against the pattern. |
| 171 |
\fB/N\fP PCRE_NO_AUTO_CAPTURE |
\fB/N\fP PCRE_NO_AUTO_CAPTURE |
| 172 |
\fB/U\fP PCRE_UNGREEDY |
\fB/U\fP PCRE_UNGREEDY |
| 173 |
\fB/X\fP PCRE_EXTRA |
\fB/X\fP PCRE_EXTRA |
| 174 |
|
\fB/<JS>\fP PCRE_JAVASCRIPT_COMPAT |
| 175 |
\fB/<cr>\fP PCRE_NEWLINE_CR |
\fB/<cr>\fP PCRE_NEWLINE_CR |
| 176 |
\fB/<lf>\fP PCRE_NEWLINE_LF |
\fB/<lf>\fP PCRE_NEWLINE_LF |
| 177 |
\fB/<crlf>\fP PCRE_NEWLINE_CRLF |
\fB/<crlf>\fP PCRE_NEWLINE_CRLF |
| 718 |
.rs |
.rs |
| 719 |
.sp |
.sp |
| 720 |
.nf |
.nf |
| 721 |
Last updated: 19 November 2007 |
Last updated: 12 April 2008 |
| 722 |
Copyright (c) 1997-2007 University of Cambridge. |
Copyright (c) 1997-2008 University of Cambridge. |
| 723 |
.fi |
.fi |