projects
/
catagits/Web-Simple.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
adapted to take dashes
[catagits/Web-Simple.git]
/
lib
/
Web
/
Dispatch
/
Parser.pm
diff --git
a/lib/Web/Dispatch/Parser.pm
b/lib/Web/Dispatch/Parser.pm
index
b731b17
..
b7d604a
100644
(file)
--- a/
lib/Web/Dispatch/Parser.pm
+++ b/
lib/Web/Dispatch/Parser.pm
@@
-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