Skip to content
New issue

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

URLPattern #740

Closed
o-t-w opened this issue Sep 21, 2024 · 2 comments
Closed

URLPattern #740

o-t-w opened this issue Sep 21, 2024 · 2 comments
Labels
accepted An accepted proposal focus-area-proposal Focus Area Proposal

Comments

@o-t-w
Copy link

o-t-w commented Sep 21, 2024

Description

Used to create URL pattern matchers.

The URLPattern API provides a web platform primitive for matching URLs based on a convenient pattern syntax.
Wildcards, named capture groups, regular groups, and group modifiers are all supported.

The syntax is based on the popular path-to-regexp library.

Specification

https://urlpattern.spec.whatwg.org/

Additional Signals

Safari position: support
Firefox position: support
Supported in Chrome and Edge and Deno

Developer sentiment

Ryan Toronto tweet with 580 likes
Michael Jackson (creator of React Router and Remix) tweet
Sebastien Lorber tweet

An Express maintainer is interested in using it for the Express router

There is a polyfill that is being downloaded from NPM many millions of times per week.

@o-t-w o-t-w added the focus-area-proposal Focus Area Proposal label Sep 21, 2024
@gsnedders
Copy link
Member

@wpt-interop
Copy link
Collaborator

Thank you for proposing URLPattern for inclusion in Interop 2025.

We are pleased to let you know that this proposal was accepted as part of the URL Pattern focus area. You can follow the progress of this focus area on the Interop 2025 dashboard.

For an overview of our process, see proposal selection. Thank you for contributing to Interop 2025!

Posted on behalf of the Interop team.

@foolip foolip added the accepted An accepted proposal label Feb 17, 2025
@foolip foolip closed this as completed Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted An accepted proposal focus-area-proposal Focus Area Proposal
Projects
Status: Done
Development

No branches or pull requests

4 participants