/[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 922 by ph10, Mon Feb 20 18:44:42 2012 UTC revision 923 by ph10, Tue Feb 21 13:25:05 2012 UTC
# Line 131  megabytes. Line 131  megabytes.
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, all the JIT compile options are  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, for both full and partial matching. If \fB-s++\fP is  up if it is available, for both full and partial matching. Specific JIT compile
135  used, the text "(JIT)" is added to the first output line after a match or no  options can be selected by following \fB-s+\fP with a digit in the range 1 to
136  match when JIT-compiled code was actually used.  7, which selects the JIT compile modes as follows:
137    .sp
138      1  normal match only
139      2  soft partial match only
140      3  normal match and soft partial match
141      4  hard partial match only
142      6  soft and hard partial match
143      7  all three modes (default)
144    .sp
145    If \fB-s++\fP is used instead of \fB-s+\fP (with or without a following digit),
146    the text "(JIT)" is added to the first output line after a match or no match
147    when JIT-compiled code was actually used.
148  .P  .P
149  If the \fB/I\fP or \fB/D\fP option is present on a pattern (requesting output  If the \fB/I\fP or \fB/D\fP option is present on a pattern (requesting output
150  about the compiled pattern), information about the result of studying is not  about the compiled pattern), information about the result of studying is not
# Line 389  never studied, independently of \fB-s\fP Line 400  never studied, independently of \fB-s\fP
400  files in a few cases where the output is different when the pattern is studied.  files in a few cases where the output is different when the pattern is studied.
401  .P  .P
402  If the \fB/S\fP modifier is immediately followed by a + character, the call to  If the \fB/S\fP modifier is immediately followed by a + character, the call to
403  \fBpcre[16]_study()\fP is made with the PCRE_STUDY_JIT_COMPILE option,  \fBpcre[16]_study()\fP is made with all the JIT study options, requesting
404  requesting just-in-time optimization support if it is available. Note that  just-in-time optimization support if it is available, for both normal and
405  there is also a \fB/+\fP modifier; it must not be given immediately after  partial matching. If you want to restrict the JIT compiling modes, you can
406  \fB/S\fP because this will be misinterpreted. If JIT studying is successful, it  follow \fB/S+\fP with a digit in the range 1 to 7:
407  will automatically be used when \fBpcre[16]_exec()\fP is run, except when  .sp
408  incompatible run-time options are specified. These include the partial matching    1  normal match only
409  options; a complete list is given in the    2  soft partial match only
410      3  normal match and soft partial match
411      4  hard partial match only
412      6  soft and hard partial match
413      7  all three modes (default)
414    .sp
415    If \fB/S++\fP is used instead of \fB/S+\fP (with or without a following digit),
416    the text "(JIT)" is added to the first output line after a match or no match
417    when JIT-compiled code was actually used.
418    .P
419    Note that there is also an independent \fB/+\fP modifier; it must not be given
420    immediately after \fB/S\fP or \fB/S+\fP because this will be misinterpreted.
421    .P
422    If JIT studying is successful, the compiled JIT code will automatically be used
423    when \fBpcre[16]_exec()\fP is run, except when incompatible run-time options
424    are specified. For more details, see the
425  .\" HREF  .\" HREF
426  \fBpcrejit\fP  \fBpcrejit\fP
427  .\"  .\"
# Line 940  Cambridge CB2 3QH, England. Line 966  Cambridge CB2 3QH, England.
966  .rs  .rs
967  .sp  .sp
968  .nf  .nf
969  Last updated: 20 February 2012  Last updated: 21 February 2012
970  Copyright (c) 1997-2012 University of Cambridge.  Copyright (c) 1997-2012 University of Cambridge.
971  .fi  .fi

Legend:
Removed from v.922  
changed lines
  Added in v.923

  ViewVC Help
Powered by ViewVC 1.1.5