From 4d0f9afa249b7d250589ca258ef6e123fe76f97c Mon Sep 17 00:00:00 2001 From: Koen Punt Date: Mon, 7 Oct 2013 18:06:32 +0200 Subject: [PATCH] fix tests by treating . as part separator (Thank you @joegreen88, closing #26) --- AltoRouter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AltoRouter.php b/AltoRouter.php index 6776232..c677d84 100644 --- a/AltoRouter.php +++ b/AltoRouter.php @@ -197,7 +197,7 @@ class AltoRouter { 'h' => '[0-9A-Fa-f]++', '*' => '.+?', '**' => '.++', - '' => '[^/]++' + '' => '[^/\.]++' ); foreach ($matches as $match) {