Typo
Sebastian Riedel [Wed, 2 Mar 2005 01:33:38 +0000 (01:33 +0000)]
lib/Catalyst/Manual/Intro.pod

index 8060966..d8d7134 100644 (file)
@@ -258,7 +258,7 @@ Matches only http://localhost:3000/foo/bar.
 
 =item * Regex
 
-    MyApp->action( '^/foo(\d+)/bar(\d+)$/' => sub { } );
+    MyApp->action( '/^foo(\d+)/bar(\d+)$/' => sub { } );
 
 Matches any URL that matches the pattern in the action key, e.g. http://localhost:3000/foo23/bar42. The pattern must be enclosed with forward slashes, i.e. '/$pattern/'.