This content originally appeared on The WHATWG Blog and was authored by Domenic Denicola
Welcome to the newest standard maintained by the WHATWG: the URL Pattern Standard! The URL Pattern Standard gives a generic pattern syntax for matching URLs, and extracting the parts from them. It is inspired by the path-to-regexp library, although it extends beyond paths to encompass all the parts of a URL. You can read more about the API on MDN.
The URL Pattern Standard joins us as a graduation from the WICG, where it was authored by Ben Kelly. As part of the move to becoming a Living Standard, Jeremy Roman and Shunya Shishido are joining Ben as editors to help maintain and evolve the standard.
We see the URL Pattern Standard being adopted in many upcoming proposals, including speculation rules, compression dictionary transport, and service worker static routing. It has also seen adoption with implementations beyond web browsers, such as in Deno, Cloudflare Workers, Next.js Edge Runtime, and Netlify Functions. We are excited to provide a home for this primitive going forward.
This content originally appeared on The WHATWG Blog and was authored by Domenic Denicola
Domenic Denicola | Sciencx (2023-10-25T05:30:02+00:00) The URL Pattern Standard. Retrieved from https://www.scien.cx/2023/10/25/the-url-pattern-standard/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.