[ticket/13372] Fix Url Generator/Matcher generation

https://tracker.phpbb.com/browse/PHPBB3-13372

PHPBB3-13372
Please keep `()`