| 129 |
.TP 10 |
.TP 10 |
| 130 |
\fB-s\fP or \fB-s+\fP |
\fB-s\fP or \fB-s+\fP |
| 131 |
Behave as if each pattern has the \fB/S\fP modifier; in other words, force each |
Behave as if each pattern has the \fB/S\fP modifier; in other words, force each |
| 132 |
pattern to be studied. If \fB-s+\fP is used, the PCRE_STUDY_JIT_COMPILE flag is |
pattern to be studied. If \fB-s+\fP is used, all the JIT compile options are |
| 133 |
passed to \fBpcre[16]_study()\fP, causing just-in-time optimization to be set |
passed to \fBpcre[16]_study()\fP, causing just-in-time optimization to be set |
| 134 |
up if it is available. If the \fB/I\fP or \fB/D\fP option is present on a |
up if it is available, for both full and partial matching. If \fB-s++\fP is |
| 135 |
pattern (requesting output about the compiled pattern), information about the |
used, the text "(JIT)" is added to the first output line after a match or no |
| 136 |
result of studying is not included when studying is caused only by \fB-s\fP and |
match when JIT-compiled code was actually used. |
| 137 |
neither \fB-i\fP nor \fB-d\fP is present on the command line. This behaviour |
.P |
| 138 |
means that the output from tests that are run with and without \fB-s\fP should |
If the \fB/I\fP or \fB/D\fP option is present on a pattern (requesting output |
| 139 |
be identical, except when options that output information about the actual |
about the compiled pattern), information about the result of studying is not |
| 140 |
running of a match are set. |
included when studying is caused only by \fB-s\fP and neither \fB-i\fP nor |
| 141 |
|
\fB-d\fP is present on the command line. This behaviour means that the output |
| 142 |
|
from tests that are run with and without \fB-s\fP should be identical, except |
| 143 |
|
when options that output information about the actual running of a match are |
| 144 |
|
set. |
| 145 |
.sp |
.sp |
| 146 |
The \fB-M\fP, \fB-t\fP, and \fB-tm\fP options, which give information about |
The \fB-M\fP, \fB-t\fP, and \fB-tm\fP options, which give information about |
| 147 |
resources used, are likely to produce different output with and without |
resources used, are likely to produce different output with and without |
| 320 |
twice, the same action is taken for captured substrings. In each case the |
twice, the same action is taken for captured substrings. In each case the |
| 321 |
remainder is output on the following line with a plus character following the |
remainder is output on the following line with a plus character following the |
| 322 |
capture number. Note that this modifier must not immediately follow the /S |
capture number. Note that this modifier must not immediately follow the /S |
| 323 |
modifier because /S+ has another meaning. |
modifier because /S+ and \S++ have other meanings. |
| 324 |
.P |
.P |
| 325 |
The \fB/=\fP modifier requests that the values of all potential captured |
The \fB/=\fP modifier requests that the values of all potential captured |
| 326 |
parentheses be output after a match. By default, only those up to the highest |
parentheses be output after a match. By default, only those up to the highest |
| 940 |
.rs |
.rs |
| 941 |
.sp |
.sp |
| 942 |
.nf |
.nf |
| 943 |
Last updated: 14 January 2012 |
Last updated: 20 February 2012 |
| 944 |
Copyright (c) 1997-2012 University of Cambridge. |
Copyright (c) 1997-2012 University of Cambridge. |
| 945 |
.fi |
.fi |