1
0
mirror of https://github.com/dannyvankooten/AltoRouter.git synced 2025-08-01 22:20:17 +02:00

fix tests by treating . as part separator (Thank you @joegreen88, closing #26)

This commit is contained in:
Koen Punt
2013-10-07 18:06:32 +02:00
parent 6342b5f9e5
commit 4d0f9afa24

View File

@@ -197,7 +197,7 @@ class AltoRouter {
'h' => '[0-9A-Fa-f]++', 'h' => '[0-9A-Fa-f]++',
'*' => '.+?', '*' => '.+?',
'**' => '.++', '**' => '.++',
'' => '[^/]++' '' => '[^/\.]++'
); );
foreach ($matches as $match) { foreach ($matches as $match) {