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

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

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

revision 1218 by ph10, Tue Oct 30 17:54:19 2012 UTC revision 1219 by ph10, Sun Nov 11 18:04:37 2012 UTC
# Line 1  Line 1 
1  .TH PCRE 3 "30 October 2012" "PCRE 8.32"  .TH PCRE 3 "11 November 2012" "PCRE 8.32"
2  .SH NAME  .SH NAME
3  PCRE - Perl-compatible regular expressions  PCRE - Perl-compatible regular expressions
4  .SH INTRODUCTION  .SH INTRODUCTION
# Line 114  If you are using PCRE in a non-UTF appli Line 114  If you are using PCRE in a non-UTF appli
114  arbitrary patterns for compilation, you should be aware of a feature that  arbitrary patterns for compilation, you should be aware of a feature that
115  allows users to turn on UTF support from within a pattern, provided that PCRE  allows users to turn on UTF support from within a pattern, provided that PCRE
116  was built with UTF support. For example, an 8-bit pattern that begins with  was built with UTF support. For example, an 8-bit pattern that begins with
117  "(*UTF8)" turns on UTF-8 mode. This causes both the pattern and any data  "(*UTF8)" or "(*UTF)" turns on UTF-8 mode, which interprets patterns and
118  against which it is matched to be checked for UTF-8 validity. If the data  subjects as strings of UTF-8 characters instead of individual 8-bit characters.
119  string is very long, such a check might use sufficiently many resources as to  This causes both the pattern and any data against which it is matched to be
120  cause your application to lose performance.  checked for UTF-8 validity. If the data string is very long, such a check might
121    use sufficiently many resources as to cause your application to lose
122    performance.
123  .P  .P
124  The best way of guarding against this possibility is to use the  The best way of guarding against this possibility is to use the
125  \fBpcre_fullinfo()\fP function to check the compiled pattern's options for UTF.  \fBpcre_fullinfo()\fP function to check the compiled pattern's options for UTF.
# Line 195  two digits 10, at the domain cam.ac.uk. Line 197  two digits 10, at the domain cam.ac.uk.
197  .rs  .rs
198  .sp  .sp
199  .nf  .nf
200  Last updated: 30 October 2012  Last updated: 11 November 2012
201  Copyright (c) 1997-2012 University of Cambridge.  Copyright (c) 1997-2012 University of Cambridge.
202  .fi  .fi

Legend:
Removed from v.1218  
changed lines
  Added in v.1219

  ViewVC Help
Powered by ViewVC 1.1.5