fix route url generation with regex constrained route paths