Author: moritz
Date: 2010-08-12 21:23:14 +0200 (Thu, 12 Aug 2010)
New Revision: 31973

Modified:
   docs/Perl6/Spec/S05-regex.pod
Log:
[S05] attempt to clarify wording, and add an example

Modified: docs/Perl6/Spec/S05-regex.pod
===================================================================
--- docs/Perl6/Spec/S05-regex.pod       2010-08-12 19:10:33 UTC (rev 31972)
+++ docs/Perl6/Spec/S05-regex.pod       2010-08-12 19:23:14 UTC (rev 31973)
@@ -2710,9 +2710,12 @@
 
 =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.
+The C<.keys>, C<.values> and C<.kv> methods act both on the list and hash
+part, with the list part coming first.
 
+    'abcd' ~~ /(.)(.)**2 <alpha>/;
+    say ~$/.keys;           # 1 2 alpha
+
 =item *
 
 In ordinary code, variables C<$0>, C<$1>, etc. are just aliases into

Reply via email to