[svn:perl6-synopsis] r10537 - doc/trunk/design/syn
Author: larry Date: Wed Aug 2 00:20:22 2006 New Revision: 10537 Modified: doc/trunk/design/syn/S02.pod doc/trunk/design/syn/S12.pod Log: Added back in qx forms where x is single modifier character. Modified: doc/trunk/design/syn/S02.pod == --- doc/trunk/design/syn/S02.pod(original) +++ doc/trunk/design/syn/S02.podWed Aug 2 00:20:22 2006 @@ -12,9 +12,9 @@ Maintainer: Larry Wall <[EMAIL PROTECTED]> Date: 10 Aug 2004 - Last Modified: 26 July 2006 + Last Modified: 2 Aug 2006 Number: 2 - Version: 56 + Version: 57 This document summarizes Apocalypse 2, which covers small-scale lexical items and typological issues. (These Synopses also contain @@ -1422,6 +1422,9 @@ quote qn; # completely raw quote qn// quote qnc; # q:n:c//, interpolate only closures +Actually, the first two are already assumed, because you get all of the +forms that use as single character predeclared for free. + If you want to abbreviate further, you may also give an explicit definition as either a string or quasiquote: Modified: doc/trunk/design/syn/S12.pod == --- doc/trunk/design/syn/S12.pod(original) +++ doc/trunk/design/syn/S12.podWed Aug 2 00:20:22 2006 @@ -1247,7 +1247,7 @@ my Str_not2b $hamlet; $hamlet = 'isnt'; # Okay because 'isnt' ~~ /^[isnt|arent|amnot|aint]$/ -$hamlet = 'amnt'; # Bzzzt! 'amnt' !~ /^[isnt|arent|amnot|aint]$/ +$hamlet = 'amnt'; # Bzzzt! 'amnt' !~~ /^[isnt|arent|amnot|aint]$/ my EvenNum $n; $n = 2; # Okay
[svn:perl6-synopsis] r10538 - doc/trunk/design/syn
Author: larry Date: Wed Aug 2 07:53:12 2006 New Revision: 10538 Modified: doc/trunk/design/syn/S05.pod Log: Clarified Unicode property names a bit. Modified: doc/trunk/design/syn/S05.pod == --- doc/trunk/design/syn/S05.pod(original) +++ doc/trunk/design/syn/S05.podWed Aug 2 07:53:12 2006 @@ -14,9 +14,9 @@ Maintainer: Patrick Michaud <[EMAIL PROTECTED]> and Larry Wall <[EMAIL PROTECTED]> Date: 24 Jun 2002 - Last Modified: 1 Aug 2006 + Last Modified: 2 Aug 2006 Number: 5 - Version: 29 + Version: 30 This document summarizes Apocalypse 5, which is about the new regex syntax. We now try to call them I because they haven't been @@ -924,8 +924,14 @@ =item * -The C<\p> and C<\P> properties become intrinsic grammar rules -(C<< >> and C<< >>). +The C<\p> and C<\P> properties become intrinsic grammar rules such as +(C<< >> and C<< >>). They may be combined using the +above-mentioned character class notation: C<< <[_]+alpha+digit> >>. +Regardless of the higher-level character class names, low-level +Unicode properties are always available with a prefix of C. +Hence, C<< <+isLu+isLt> >> is equivalent to C<< <+upper+title> >>. +If you define your own "is" properties they hide any Unicode properties +of the same name. =item *
Re: [svn:perl6-synopsis] r10539 - doc/trunk/design/syn
[EMAIL PROTECTED] commits: > +If the first character is a plus or minus, the initial identifier taken > +as a character class, so s/taken/is taken/ -- Aaron Crane