mirror of
https://github.com/dannyvankooten/AltoRouter.git
synced 2025-10-22 19:56:20 +02:00
escape dash to fix tests
This commit is contained in:
@@ -351,7 +351,7 @@ class AltoRouterTest extends PHPUnit_Framework_TestCase
|
||||
$pattern .= '\x{FE70}-\x{FEFF}';
|
||||
$pattern .= '\x{0750}-\x{077F}';
|
||||
// Alphanumeric, /, _, - and space characters
|
||||
$pattern .= 'a-zA-Z0-9\/_-\s';
|
||||
$pattern .= 'a-zA-Z0-9\/_\-\s';
|
||||
// 'ZERO WIDTH NON-JOINER'
|
||||
$pattern .= '\x{200C}';
|
||||
$pattern .= ']+)';
|
||||
|
Reference in New Issue
Block a user