[Pcre-svn] [1258] code/trunk/doc: Document PCRE' s \p{Lu} be…

Startseite
Nachricht löschen
Autor: Subversion repository
Datum:  
To: pcre-svn
Betreff: [Pcre-svn] [1258] code/trunk/doc: Document PCRE' s \p{Lu} behaviour as different from Perl when /i is specified (I
Revision: 1258
          http://vcs.pcre.org/viewvc?view=rev&revision=1258
Author:   ph10
Date:     2013-02-23 14:14:38 +0000 (Sat, 23 Feb 2013)


Log Message:
-----------
Document PCRE's \p{Lu} behaviour as different from Perl when /i is specified (I
think Perl has changed).

Modified Paths:
--------------
    code/trunk/doc/pcrecompat.3
    code/trunk/doc/pcrepattern.3


Modified: code/trunk/doc/pcrecompat.3
===================================================================
--- code/trunk/doc/pcrecompat.3    2013-02-22 20:20:30 UTC (rev 1257)
+++ code/trunk/doc/pcrecompat.3    2013-02-23 14:14:38 UTC (rev 1258)
@@ -1,4 +1,4 @@
-.TH PCRECOMPAT 3 "24 June 2012" "PCRE 8.30"
+.TH PCRECOMPAT 3 "23 February 2013" "PCRE 8.33"
 .SH NAME
 PCRE - Perl-compatible regular expressions
 .SH "DIFFERENCES BETWEEN PCRE AND PERL"
@@ -121,7 +121,13 @@
 Perl allows white space between ( and ? but PCRE never does, even if the
 PCRE_EXTENDED option is set.
 .P
-14. PCRE provides some extensions to the Perl regular expression facilities.
+14. In PCRE, the upper/lower case character properties Lu and Ll are not 
+affected when case-independent matching is specified. For example, \ep{Lu}
+always matches an upper case letter. I think Perl has changed in this respect;
+in the release at the time of writing (5.16), \ep{Lu} and \ep{Ll} match all
+letters, regardless of case, when case independence is specified.
+.P
+15. PCRE provides some extensions to the Perl regular expression facilities.
 Perl 5.10 includes new features that are not in earlier versions of Perl, some
 of which (such as named parentheses) have been in PCRE for some time. This list
 is with respect to Perl 5.10:
@@ -180,6 +186,6 @@
 .rs
 .sp
 .nf
-Last updated: 25 August 2012
-Copyright (c) 1997-2012 University of Cambridge.
+Last updated: 23 February 2013
+Copyright (c) 1997-2013 University of Cambridge.
 .fi


Modified: code/trunk/doc/pcrepattern.3
===================================================================
--- code/trunk/doc/pcrepattern.3    2013-02-22 20:20:30 UTC (rev 1257)
+++ code/trunk/doc/pcrepattern.3    2013-02-23 14:14:38 UTC (rev 1258)
@@ -1,4 +1,4 @@
-.TH PCREPATTERN 3 "11 November 2012" "PCRE 8.32"
+.TH PCREPATTERN 3 "23 February 2013" "PCRE 8.33"
 .SH NAME
 PCRE - Perl-compatible regular expressions
 .SH "PCRE REGULAR EXPRESSION DETAILS"
@@ -802,7 +802,8 @@
 Unicode table.
 .P
 Specifying caseless matching does not affect these escape sequences. For
-example, \ep{Lu} always matches only upper case letters.
+example, \ep{Lu} always matches only upper case letters. This is different from 
+the behaviour of current versions of Perl.
 .P
 Matching characters by Unicode property is not fast, because PCRE has to do a
 multistage table lookup in order to find a character's property. That is why
@@ -2978,6 +2979,6 @@
 .rs
 .sp
 .nf
-Last updated: 11 November 2012
-Copyright (c) 1997-2012 University of Cambridge.
+Last updated: 23 February 2013
+Copyright (c) 1997-2013 University of Cambridge.
 .fi