We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9d567a commit 0c5280fCopy full SHA for 0c5280f
1 file changed
src/Application/Routers/Route.php
@@ -542,11 +542,6 @@ private function setMask($mask, array $metadata)
542
continue;
543
}
544
545
- // check name (limitation by regexp)
546
- if (preg_match('#[^a-z0-9_-]#i', $name)) {
547
- throw new Nette\InvalidArgumentException("Parameter name must be alphanumeric string due to limitations of PCRE, '$name' given.");
548
- }
549
-
550
// pattern, condition & metadata
551
if ($class !== '') {
552
if (!isset(static::$styles[$class])) {
0 commit comments