TLDR · PROGRAMMING, DESIGN & DATA SCIENCE
URL PATTERN API
Summary from the TLDR newsletter
The URL Pattern API defines a syntax that is used to create URL pattern matchers. Patterns are specified using the URLPattern interface with a pattern syntax based on the syntax from the path-to-regexp library. They can contain capturing groups that extract parts of the matched URL. The API works across all of the latest devices and browser versions.