/[pcre]/code/trunk/doc/pcrepattern.3
ViewVC logotype

Diff of /code/trunk/doc/pcrepattern.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1394 by ph10, Sat Nov 9 09:17:20 2013 UTC revision 1395 by ph10, Sat Nov 9 16:54:52 2013 UTC
# Line 1  Line 1 
1  .TH PCREPATTERN 3 "08 November 2013" "PCRE 8.34"  .TH PCREPATTERN 3 "09 November 2013" "PCRE 8.34"
2  .SH NAME  .SH NAME
3  PCRE - Perl-compatible regular expressions  PCRE - Perl-compatible regular expressions
4  .SH "PCRE REGULAR EXPRESSION DETAILS"  .SH "PCRE REGULAR EXPRESSION DETAILS"
# Line 80  appearance causes an error. Line 80  appearance causes an error.
80  .SS "Unicode property support"  .SS "Unicode property support"
81  .rs  .rs
82  .sp  .sp
83  Another special sequence that may appear at the start of a pattern is  Another special sequence that may appear at the start of a pattern is (*UCP).
 .sp  
   (*UCP)  
 .sp  
84  This has the same effect as setting the PCRE_UCP option: it causes sequences  This has the same effect as setting the PCRE_UCP option: it causes sequences
85  such as \ed and \ew to use Unicode properties to determine character types,  such as \ed and \ew to use Unicode properties to determine character types,
86  instead of recognizing only characters with codes less than 128 via a lookup  instead of recognizing only characters with codes less than 128 via a lookup
87  table.  table.
88  .  .
89  .  .
90    .SS "Disabling auto-possessification"
91    .rs
92    .sp
93    If a pattern starts with (*NO_AUTO_POSSESS), it has the same effect as setting
94    the PCRE_NO_AUTO_POSSESSIFY option at compile time. This stops PCRE from making
95    quantifiers possessive when what follows cannot match the repeated item. For
96    example, by default a+b is treated as a++b. For more details, see the
97    .\" HREF
98    \fBpcreapi\fP
99    .\"
100    documentation.
101    .
102    .
103  .SS "Disabling start-up optimizations"  .SS "Disabling start-up optimizations"
104  .rs  .rs
105  .sp  .sp
106  If a pattern starts with (*NO_START_OPT), it has the same effect as setting the  If a pattern starts with (*NO_START_OPT), it has the same effect as setting the
107  PCRE_NO_START_OPTIMIZE option either at compile or matching time.  PCRE_NO_START_OPTIMIZE option either at compile or matching time. This disables
108    several optimizations for quickly reaching "no match" results. For more
109    details, see the
110    .\" HREF
111    \fBpcreapi\fP
112    .\"
113    documentation.
114  .  .
115  .  .
116  .\" HTML <a name="newlines"></a>  .\" HTML <a name="newlines"></a>
# Line 2754  During matching, when PCRE reaches a cal Line 2770  During matching, when PCRE reaches a cal
2770  called. It is provided with the number of the callout, the position in the  called. It is provided with the number of the callout, the position in the
2771  pattern, and, optionally, one item of data originally supplied by the caller of  pattern, and, optionally, one item of data originally supplied by the caller of
2772  the matching function. The callout function may cause matching to proceed, to  the matching function. The callout function may cause matching to proceed, to
2773  backtrack, or to fail altogether. A complete description of the interface to  backtrack, or to fail altogether.
2774  the callout function is given in the  .P
2775    By default, PCRE implements a number of optimizations at compile time and
2776    matching time, and one side-effect is that sometimes callouts are skipped. If
2777    you need all possible callouts to happen, you need to set options that disable
2778    the relevant optimizations. More details, and a complete description of the
2779    interface to the callout function, are given in the
2780  .\" HREF  .\" HREF
2781  \fBpcrecallout\fP  \fBpcrecallout\fP
2782  .\"  .\"
# Line 3201  Cambridge CB2 3QH, England. Line 3222  Cambridge CB2 3QH, England.
3222  .rs  .rs
3223  .sp  .sp
3224  .nf  .nf
3225  Last updated: 08 November 2013  Last updated: 09 November 2013
3226  Copyright (c) 1997-2013 University of Cambridge.  Copyright (c) 1997-2013 University of Cambridge.
3227  .fi  .fi

Legend:
Removed from v.1394  
changed lines
  Added in v.1395

  ViewVC Help
Powered by ViewVC 1.1.5