[TASK] Fixed regex causing optional parameters to sometimes catch required

parameters value.
This commit is contained in:
Simon Sessingø
2016-01-23 16:10:44 +01:00
parent 6306b604e8
commit 35ee79d02c
+1 -1
View File
@@ -248,7 +248,7 @@ abstract class RouterEntry {
return new $name();
}
protected function parseParameters($route, $url, $parameterRegex = '[a-z0-9]+?') {
protected function parseParameters($route, $url, $parameterRegex = '[a-z0-9]+') {
$parameterNames = array();
$regex = '';
$lastCharacter = '';