Author: moritz
Date: 2009-04-14 17:56:57 +0200 (Tue, 14 Apr 2009)
New Revision: 26234

Modified:
   docs/Perl6/Spec/S05-regex.pod
Log:
[S05] fix small logic error in example

The old example matched 'ac' illegally

Modified: docs/Perl6/Spec/S05-regex.pod
===================================================================
--- docs/Perl6/Spec/S05-regex.pod       2009-04-14 15:56:53 UTC (rev 26233)
+++ docs/Perl6/Spec/S05-regex.pod       2009-04-14 15:56:57 UTC (rev 26234)
@@ -1524,7 +1524,7 @@
 
 is rewritten as something like:
 
-    [a [b+]? c?]? | [a x*]?
+    [a [b+ c?]?]? | [a x*]?
 
 In the latter example we're assuming the DFA token matcher is going to
 give us the longest match regardless.  It's also possible that quantified

Reply via email to