Author: lwall
Date: 2009-05-28 19:37:18 +0200 (Thu, 28 May 2009)
New Revision: 26954

Modified:
   docs/Perl6/Spec/S05-regex.pod
Log:
[S05] clarify #= tags as suggested by [particle]++


Modified: docs/Perl6/Spec/S05-regex.pod
===================================================================
--- docs/Perl6/Spec/S05-regex.pod       2009-05-28 16:55:52 UTC (rev 26953)
+++ docs/Perl6/Spec/S05-regex.pod       2009-05-28 17:37:18 UTC (rev 26954)
@@ -14,8 +14,8 @@
    Maintainer: Patrick Michaud <pmich...@pobox.com> and
                Larry Wall <la...@wall.org>
    Date: 24 Jun 2002
-   Last Modified: 8 May 2009
-   Version: 97
+   Last Modified: 28 May 2009
+   Version: 98
 
 This document summarizes Apocalypse 5, which is about the new regex
 syntax.  We now try to call them I<regex> rather than "regular
@@ -3723,9 +3723,11 @@
 
 Whenever a closure within the grammar returns a C<Whatever> object, the
 grammar engine tries to call a method of the same name as the name of the
-current regex on the action object, passing along the current C<Match> object 
as
-the first positional argument, and the tag of the reduction (if any) as the 
second
-argument.  The tag is supplied via a C<#=> comment on the same line as the 
C<{*}>.
+current regex on the action object, passing along the current C<Match>
+object as the first positional argument, and the tag of the reduction (if
+any) as the second argument.  The tag is supplied via a C<#=> comment later
+on the same line as the C<{*}>.  there must be whitespace between the C<#=>
+and the tag, but the tag itself may contain spaces.
 
    grammar Integer {
        token TOP {

Reply via email to