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:
@@ -197,7 +197,7 @@ class AltoRouter {
|
|||||||
'h' => '[0-9A-Fa-f]++',
|
'h' => '[0-9A-Fa-f]++',
|
||||||
'*' => '.+?',
|
'*' => '.+?',
|
||||||
'**' => '.++',
|
'**' => '.++',
|
||||||
'' => '[^/]++'
|
'' => '[^/\.]++'
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ($matches as $match) {
|
foreach ($matches as $match) {
|
||||||
|
Reference in New Issue
Block a user