/[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 1391 by ph10, Tue May 28 09:13:59 2013 UTC revision 1392 by ph10, Wed Nov 6 18:00:09 2013 UTC
# Line 1  Line 1 
1  .TH PCRECOMPAT 3 "19 March 2013" "PCRE 8.33"  .TH PCRECOMPAT 3 "05 November 2013" "PCRE 8.34"
2  .SH NAME  .SH NAME
3  PCRE - Perl-compatible regular expressions  PCRE - Perl-compatible regular expressions
4  .SH "DIFFERENCES BETWEEN PCRE AND PERL"  .SH "DIFFERENCES BETWEEN PCRE AND PERL"
# Line 125  between the ( and ? at the start of a su Line 125  between the ( and ? at the start of a su
125  Perl allows white space between ( and ? but PCRE never does, even if the  Perl allows white space between ( and ? but PCRE never does, even if the
126  PCRE_EXTENDED option is set.  PCRE_EXTENDED option is set.
127  .P  .P
128  16. In PCRE, the upper/lower case character properties Lu and Ll are not  16. Perl, when in warning mode, gives warnings for character classes such as
129    [A-\ed] or [a-[:digit:]]. It then treats the hyphens as literals. PCRE has no
130    warning features, so it gives an error in these cases because they are almost
131    certainly user mistakes.
132    .P
133    17. In PCRE, the upper/lower case character properties Lu and Ll are not
134  affected when case-independent matching is specified. For example, \ep{Lu}  affected when case-independent matching is specified. For example, \ep{Lu}
135  always matches an upper case letter. I think Perl has changed in this respect;  always matches an upper case letter. I think Perl has changed in this respect;
136  in the release at the time of writing (5.16), \ep{Lu} and \ep{Ll} match all  in the release at the time of writing (5.16), \ep{Lu} and \ep{Ll} match all
137  letters, regardless of case, when case independence is specified.  letters, regardless of case, when case independence is specified.
138  .P  .P
139  17. PCRE provides some extensions to the Perl regular expression facilities.  18. PCRE provides some extensions to the Perl regular expression facilities.
140  Perl 5.10 includes new features that are not in earlier versions of Perl, some  Perl 5.10 includes new features that are not in earlier versions of Perl, some
141  of which (such as named parentheses) have been in PCRE for some time. This list  of which (such as named parentheses) have been in PCRE for some time. This list
142  is with respect to Perl 5.10:  is with respect to Perl 5.10:
# Line 190  Cambridge CB2 3QH, England. Line 195  Cambridge CB2 3QH, England.
195  .rs  .rs
196  .sp  .sp
197  .nf  .nf
198  Last updated: 19 March 2013  Last updated: 05 November 2013
199  Copyright (c) 1997-2013 University of Cambridge.  Copyright (c) 1997-2013 University of Cambridge.
200  .fi  .fi

Legend:
Removed from v.1391  
changed lines
  Added in v.1392

  ViewVC Help
Powered by ViewVC 1.1.5