Optional path params and path params with default value not working
The code generated for `/{p:path}` is `if contains(urlPath, re2("^/([\\S]+)$")):` can match correctly.

But `/{p?:path}` generates incorrect regex `re2("^/{p?:path[m]}$")`, path params with default value have the same issue.