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

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

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

revision 96 by nigel, Fri Mar 2 13:10:43 2007 UTC revision 181 by ph10, Wed Jun 13 14:55:18 2007 UTC
# Line 6  PCRE - Perl-compatible regular expressio Line 6  PCRE - Perl-compatible regular expressio
6  .sp  .sp
7  This document describes the differences in the ways that PCRE and Perl handle  This document describes the differences in the ways that PCRE and Perl handle
8  regular expressions. The differences described here are mainly with respect to  regular expressions. The differences described here are mainly with respect to
9  Perl 5.8, though PCRE version 7.0 contains some features that are expected to  Perl 5.8, though PCRE versions 7.0 and later contain some features that are
10  be in the forthcoming Perl 5.10.  expected to be in the forthcoming Perl 5.10.
11  .P  .P
12  1. PCRE has only a subset of Perl's UTF-8 and Unicode support. Details of what  1. PCRE has only a subset of Perl's UTF-8 and Unicode support. Details of what
13  it does have are given in the  it does have are given in the
# Line 94  string. Perl requires them all to have t Line 94  string. Perl requires them all to have t
94  meta-character matches only at the very end of the string.  meta-character matches only at the very end of the string.
95  .sp  .sp
96  (c) If PCRE_EXTRA is set, a backslash followed by a letter with no special  (c) If PCRE_EXTRA is set, a backslash followed by a letter with no special
97  meaning is faulted. Otherwise, like Perl, the backslash is ignored. (Perl can  meaning is faulted. Otherwise, like Perl, the backslash is quietly ignored.
98  be made to issue a warning.)  (Perl can be made to issue a warning.)
99  .sp  .sp
100  (d) If PCRE_UNGREEDY is set, the greediness of the repetition quantifiers is  (d) If PCRE_UNGREEDY is set, the greediness of the repetition quantifiers is
101  inverted, that is, by default they are not greedy, but if followed by a  inverted, that is, by default they are not greedy, but if followed by a
# Line 116  different hosts that have the other endi Line 116  different hosts that have the other endi
116  .sp  .sp
117  (j) The alternative matching function (\fBpcre_dfa_exec()\fP) matches in a  (j) The alternative matching function (\fBpcre_dfa_exec()\fP) matches in a
118  different way and is not Perl-compatible.  different way and is not Perl-compatible.
119  .P  .
120  .in 0  .
121  Last updated: 28 November 2006  .SH AUTHOR
122  .br  .rs
123  Copyright (c) 1997-2006 University of Cambridge.  .sp
124    .nf
125    Philip Hazel
126    University Computing Service
127    Cambridge CB2 3QH, England.
128    .fi
129    .
130    .
131    .SH REVISION
132    .rs
133    .sp
134    .nf
135    Last updated: 13 June 2007
136    Copyright (c) 1997-2007 University of Cambridge.
137    .fi

Legend:
Removed from v.96  
changed lines
  Added in v.181

  ViewVC Help
Powered by ViewVC 1.1.5