projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Make default test names reflect reality more and fix a buglet, rafl++
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
DispatchType
/
Regex.pm
diff --git
a/lib/Catalyst/DispatchType/Regex.pm
b/lib/Catalyst/DispatchType/Regex.pm
index
0d6da04
..
4b1beae
100644
(file)
--- a/
lib/Catalyst/DispatchType/Regex.pm
+++ b/
lib/Catalyst/DispatchType/Regex.pm
@@
-151,6
+151,7
@@
sub uri_for_action {
my $re = "$orig";
$re =~ s/^\^//;
$re =~ s/\$$//;
+ $re =~ s/\\([^\\])/$1/g;
my $final = '/';
my @captures = @$captures;
while (my ($front, $rest) = split(/\(/, $re, 2)) {