-
Notifications
You must be signed in to change notification settings - Fork 282
Open
Description
Hey,
I'm trying to use this pattern:
"(?:www.)?shop.example.com/collections/:handle([^/]+)"
to match these urls:
https://shop.example.com/collections/new-arrivals
https://www.shop.example.com/collections/fall-2018
but not this url:
https://othersubdomain.shop.example.com/collections/new-arrivals
Unfortunately, if use a non-capturing group, somewhere in the pattern cleaning process, the ":" character confuses the framework.
If I use a normal capturing group: "(www.)?shop.example.com/collections/:handle([^/]+)" still doesn't work because it gets confused with the handle parameter
Metadata
Metadata
Assignees
Labels
No labels