We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const pattern = new URLPattern({ pathname: "/books/:id" }); console.log(pattern.test("https://example.com/books/123")); // true console.log(pattern.exec("https://example.com/books/123").pathname.groups); // { id: '123' }
for more control on of the url
No response
The text was updated successfully, but these errors were encountered:
#2286
Sorry, something went wrong.
Duplicate of #2286
No branches or pull requests
What is the problem this feature would solve?
What is the feature you are proposing to solve the problem?
for more control on of the url
What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: