the ... part of '/foo...' should match ONLY empty string or something starting with /
[catagits/Web-Simple.git] / lib / Web / Dispatch / Parser.pm
index 213edb0..1ccb650 100644 (file)
@@ -145,7 +145,7 @@ sub _url_path_match {
         or $self->_blam("Couldn't parse path match segment");
       /\G\.\.\./gc
         and do {
-          $end = '(.*)';
+          $end = '(|/.*)';
           last PATH;
         };
       /\G\.\*/gc