Author: masak
Date: 2010-08-08 08:06:34 +0200 (Sun, 08 Aug 2010)
New Revision: 31922

Modified:
   docs/Perl6/Spec/S05-regex.pod
Log:
[S05] fixed copy-pasto

Modified: docs/Perl6/Spec/S05-regex.pod
===================================================================
--- docs/Perl6/Spec/S05-regex.pod       2010-08-07 17:31:04 UTC (rev 31921)
+++ docs/Perl6/Spec/S05-regex.pod       2010-08-08 06:06:34 UTC (rev 31922)
@@ -17,8 +17,8 @@
 
     Created: 24 Jun 2002
 
-    Last Modified: 6 Aug 2010
-    Version: 129
+    Last Modified: 7 Aug 2010
+    Version: 130
 
 This document summarizes Apocalypse 5, which is about the new regex
 syntax.  We now try to call them I<regex> rather than "regular
@@ -3987,7 +3987,7 @@
 object to that grammar:
 
     MyGrammar.parse($string, :actions($action-object))
-    MyGrammar.parse($filename, :actions($action-object))
+    MyGrammar.parsefile($filename, :actions($action-object))
 
 This creates a C<Grammar> object, whose type denotes the current language being
 parsed, and from which other grammars may be derived as extended languages.

Reply via email to