diff --git a/code/site/components/com_pages/dispatcher/router/resolver/regex.php b/code/site/components/com_pages/dispatcher/router/resolver/regex.php index 2f3380585..1f054793e 100644 --- a/code/site/components/com_pages/dispatcher/router/resolver/regex.php +++ b/code/site/components/com_pages/dispatcher/router/resolver/regex.php @@ -78,7 +78,7 @@ protected function _initialize(KObjectConfig $config) 'alpha' => '[A-Za-z]++', '*alpha' => '[A-Za-z]+(,[A-Za-z]+)*', 'id' => '[0-9]++[-]++[0-9A-Za-z-]++', - 'slug' => '[^0-9-][a-z-0-9]++', + 'slug' => '(?![0-9]++-)[^-][0-9A-Za-z-]++', '*' => '.+?', '**' => '.++', '' => '[^/\.]++',