← Back to release summary

URLPattern: RegExp v flag instead of u

Category
Miscellaneous
Type
No developer-visible change
Status
Enabled by default (Chrome 121)
Intent stage
None

Summary

The URL Pattern API allows developers to specify pattern strings. Those are transformed to regular expressions internally. When the API was first implemented, these regular expressions were compiled with the u flag. We're going to update it to the v flag, enabling Unicode sets.

Standards & signals

View on chromestatus.com