From: Sebastian Riedel Date: Wed, 2 Mar 2005 01:33:38 +0000 (+0000) Subject: Typo X-Git-Tag: 5.7099_04~1796 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3640f71c9bb087d399a5150634926abb18d8776d;p=catagits%2FCatalyst-Runtime.git Typo --- diff --git a/lib/Catalyst/Manual/Intro.pod b/lib/Catalyst/Manual/Intro.pod index 8060966..d8d7134 100644 --- a/lib/Catalyst/Manual/Intro.pod +++ b/lib/Catalyst/Manual/Intro.pod @@ -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/'.