Update Route matches

Reduced code. Fixed uppercase for params (controller, category).
Sure `preg_*` and callback has a penalty, but multiple `strpos`, `ucwords`, `str_replace` will also add up - they all have to scan the full string and switch between native and PHP repeatedly. Worth checking I think because it would definitely make the code much more readable to get it in a single operation.