Closed CindyLinz closed 10 years ago
with
my $t = Router::R3->new( '/a/{a:(}' => 1 );
I got:
creating R3 routing tree fail: PCRE compilation failed at offset 7: missing ), pattern: ^/a/(()
(good)
my $t = Router::R3->new( '/post4/{idx:\d{3}}/{idy}' => 6, '/post4/{idx:\d{3}}/{idy:(}' => 7, );
I got
(nothing)
I found it's caused by the the same slug ID. so it breaks at "{idy:" + ":...."
your first case was fixed. but the second case is caused by another reason. :(
ok it's fixed now XD
fixed
with
I got:
(good)
with
I got
(nothing)