Closed tunetheweb closed 2 months ago
It wasn't clear to me that parentheses are used to create regex groups.
It is kind of explained with examples like this:
A regular expression can also be used instead, so the pathname pattern "/blog/:year(\d+)/:month(\d+)" will match "/blog/2012/02".
Or bits like this:
"/(bar)" "char" and "regexp" tokens.
But given parentheses are commonly used in regexs themselves I think this could be made clearer. Unless I missed where this was explained?
What is the issue with the URL Pattern Standard?
It wasn't clear to me that parentheses are used to create regex groups.
It is kind of explained with examples like this:
Or bits like this:
But given parentheses are commonly used in regexs themselves I think this could be made clearer. Unless I missed where this was explained?