Author: moritz Date: 2010-08-12 21:10:33 +0200 (Thu, 12 Aug 2010) New Revision: 31972
Modified: docs/Perl6/Spec/S05-regex.pod Log: [S05] specify what .keys, .values and .kv do on Match objects Modified: docs/Perl6/Spec/S05-regex.pod =================================================================== --- docs/Perl6/Spec/S05-regex.pod 2010-08-12 13:53:57 UTC (rev 31971) +++ docs/Perl6/Spec/S05-regex.pod 2010-08-12 19:10:33 UTC (rev 31972) @@ -2710,6 +2710,11 @@ =item * +The C<.keys>, C<.values> and C<.kv> methods act both on the positional and the +named captures, so the keys generally involved both numbers and indentifiers. + +=item * + In ordinary code, variables C<$0>, C<$1>, etc. are just aliases into C<$/[0]>, C<$/[1]>, etc. Hence they will all be undefined if the last match failed (unless they were explicitly bound in a closure without