-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
What type of issue is this?
Incorrect support data (example: BrowserX says "86" but support was added in "40")
What information was incorrect, unhelpful, or incomplete?
For regex modifiers (?ims-ims:...), Safari is marked unsupported, even though this feature is now implemented in Webkit: WebKit/WebKit#40598
I assume that means latest Safari version(s) and/or iOS webview also support it but I have no way to test.
Also I think the Bun data must be wrong as Bun 1's release date is 2023-09-08, before the proposal for this feature was even stage 3, and long before it was implemented in Webkit. Bun 1.3.3 does support it though.
What browsers does this problem apply to, if applicable?
Safari, iOS webview, Bun
What did you expect to see?
Updated Safari support data.
Did you test this? If so, how?
const re = /(?i:t)est/
if (!re.test('Test') || re.test('TesT')) throw 'unreachable'Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
WebKit/WebKit#40598
oven-sh/bun#11960
https://github.com/tc39/proposal-regexp-modifiers/
https://bugs.webkit.org/show_bug.cgi?id=275672 still marked unresolved, but I guess that's out of date
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Modifier
MDN metadata
MDN page report details
- Query:
javascript.regular_expressions.modifier - Report started: 2025-12-03T08:25:00.794Z