urlpattern-polyfill icon indicating copy to clipboard operation
urlpattern-polyfill copied to clipboard

Update the RegExp flag from "u" to "v"

Open sisidovski opened this issue 1 year ago • 2 comments

In https://github.com/whatwg/urlpattern/pull/188, the URL Pattern API was updated to use v flag instead of u. As mentioned in the blink-dev thread, the expected impact is very limited.

It would be great if the polyfill library follows, too. I can work on making a PR for this update.

sisidovski avatar Nov 15 '23 08:11 sisidovski

@sisidovski Once the spec has merged this and the updated tests are available, we will update. There is little value to update before unicode tests are added upstream.

SanderElias avatar Nov 15 '23 12:11 SanderElias

@SanderElias Actually the spec was already merged. chromium is going to update the flag, too fyi (blink-dev thread). Here is the updated tests. https://github.com/web-platform-tests/wpt/pull/43014

sisidovski avatar Nov 19 '23 06:11 sisidovski