Add optional route regex matching