~ubuntu-branches/ubuntu/utopic/pcre3/utopic-proposed

« back to all changes in this revision

Viewing changes to doc/pcre_compile2.3

  • Committer: Bazaar Package Importer
  • Author(s): Mark Baker
  • Date: 2010-05-07 21:18:05 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100507211805-hgyyr2003bmbu54m
Tags: 8.02-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
.sp
35
35
The option bits are:
36
36
.sp
37
 
  PCRE_ANCHORED         Force pattern anchoring
38
 
  PCRE_AUTO_CALLOUT     Compile automatic callouts
39
 
  PCRE_CASELESS         Do caseless matching
40
 
  PCRE_DOLLAR_ENDONLY   $ not to match newline at end
41
 
  PCRE_DOTALL           . matches anything including NL
42
 
  PCRE_DUPNAMES         Allow duplicate names for subpatterns
43
 
  PCRE_EXTENDED         Ignore whitespace and # comments
44
 
  PCRE_EXTRA            PCRE extra features
45
 
                          (not much use currently)
46
 
  PCRE_FIRSTLINE        Force matching to be before newline
47
 
  PCRE_MULTILINE        ^ and $ match newlines within data
48
 
  PCRE_NEWLINE_ANY      Recognize any Unicode newline sequence
49
 
  PCRE_NEWLINE_ANYCRLF  Recognize CR, LF, and CRLF as newline sequences
50
 
  PCRE_NEWLINE_CR       Set CR as the newline sequence
51
 
  PCRE_NEWLINE_CRLF     Set CRLF as the newline sequence
52
 
  PCRE_NEWLINE_LF       Set LF as the newline sequence
53
 
  PCRE_NO_AUTO_CAPTURE  Disable numbered capturing paren-
54
 
                          theses (named ones available)
55
 
  PCRE_UNGREEDY         Invert greediness of quantifiers
56
 
  PCRE_UTF8             Run in UTF-8 mode
57
 
  PCRE_NO_UTF8_CHECK    Do not check the pattern for UTF-8
58
 
                          validity (only relevant if
59
 
                          PCRE_UTF8 is set)
 
37
  PCRE_ANCHORED           Force pattern anchoring
 
38
  PCRE_AUTO_CALLOUT       Compile automatic callouts
 
39
  PCRE_BSR_ANYCRLF        \eR matches only CR, LF, or CRLF
 
40
  PCRE_BSR_UNICODE        \eR matches all Unicode line endings
 
41
  PCRE_CASELESS           Do caseless matching
 
42
  PCRE_DOLLAR_ENDONLY     $ not to match newline at end
 
43
  PCRE_DOTALL             . matches anything including NL
 
44
  PCRE_DUPNAMES           Allow duplicate names for subpatterns
 
45
  PCRE_EXTENDED           Ignore whitespace and # comments
 
46
  PCRE_EXTRA              PCRE extra features
 
47
                            (not much use currently)
 
48
  PCRE_FIRSTLINE          Force matching to be before newline
 
49
  PCRE_JAVASCRIPT_COMPAT  JavaScript compatibility
 
50
  PCRE_MULTILINE          ^ and $ match newlines within data
 
51
  PCRE_NEWLINE_ANY        Recognize any Unicode newline sequence
 
52
  PCRE_NEWLINE_ANYCRLF    Recognize CR, LF, and CRLF as newline
 
53
                            sequences
 
54
  PCRE_NEWLINE_CR         Set CR as the newline sequence
 
55
  PCRE_NEWLINE_CRLF       Set CRLF as the newline sequence
 
56
  PCRE_NEWLINE_LF         Set LF as the newline sequence
 
57
  PCRE_NO_AUTO_CAPTURE    Disable numbered capturing paren-
 
58
                            theses (named ones available)
 
59
  PCRE_NO_UTF8_CHECK      Do not check the pattern for UTF-8
 
60
                            validity (only relevant if
 
61
                            PCRE_UTF8 is set)
 
62
  PCRE_UNGREEDY           Invert greediness of quantifiers
 
63
  PCRE_UTF8               Run in UTF-8 mode
60
64
.sp
61
65
PCRE must be built with UTF-8 support in order to use PCRE_UTF8 and
62
66
PCRE_NO_UTF8_CHECK.