Handles 2 types of patterns to be used in an URL:
- {foo} matches anything but a slash and is used to match the typical URL
variable (e.g. an ID)
- {&foo} matches the slash, too, and is used to match only those URL
variables, which may have a slash