Author: moritz Date: 2010-08-06 19:52:10 +0200 (Fri, 06 Aug 2010) New Revision: 31919
Modified: docs/Perl6/Spec/S03-operators.pod Log: [S03] smart-match entry for Match on RHS After some discussion with @Larry on YAPC::EU, we figured that's the best way to solve the dilemma that C<'string' ~~ m/regex/> immediately matches on the right-hand side, thus ends up calling $/.ACCEPTS('string'). Modified: docs/Perl6/Spec/S03-operators.pod =================================================================== --- docs/Perl6/Spec/S03-operators.pod 2010-08-06 17:52:06 UTC (rev 31918) +++ docs/Perl6/Spec/S03-operators.pod 2010-08-06 17:52:10 UTC (rev 31919) @@ -3536,6 +3536,8 @@ Array Regex array "boolean grep" .any.match(X) Any Regex pattern match .match(X) + Any Match identity $_ + Num Range in numeric range X.min <= $_ <= X.max (mod ^'s) Str Range in string range X.min le $_ le X.max (mod ^'s) Any Range in generic range [!after] X.min,$_,X.max (etc.)