Allow dots in path matchers, so that sub (/foo.html) works
[catagits/Web-Simple.git] / lib / Web / Dispatch / Parser.pm
index 6ebc51e..bd62652 100644 (file)
@@ -165,7 +165,7 @@ sub _url_path_segment_match {
     /\G(?:(?=[+|\)])|$)/gc and
       return '';
     # word chars only -> exact path part match
-    /\G([\w\-]+)/gc and
+    /\G([\w\-.]+)/gc and
       return "\Q$1";
     # ** -> capture unlimited path parts
     /\G\*\*/gc and