WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
289028
(Regression
290982@main
) Regex regression related to non-capturing group combined with or
https://bugs.webkit.org/show_bug.cgi?id=289028
Summary
(Regression 290982@main) Regex regression related to non-capturing group comb...
pfg
Reported
2025-03-03 17:20:13 PST
The expression `/^(?:H|Hangul)$/.test("Hangul")` returns false when it should return true. This was regressed by commit 5d4feeaef67a95a369beb8242abd28bf64bc4251
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2025-03-03 17:23:59 PST
https://github.com/WebKit/WebKit/commit/5d4feeaef67a95a369beb8242abd28bf64bc4251
<- Reference
Radar WebKit Bug Importer
Comment 2
2025-03-03 17:24:08 PST
<
rdar://problem/146065879
>
daniel_liu4
Comment 3
2025-03-04 12:58:41 PST
***
Bug 289110
has been marked as a duplicate of this bug. ***
daniel_liu4
Comment 4
2025-03-04 13:01:18 PST
Pull request:
https://github.com/WebKit/WebKit/pull/41871
EWS
Comment 5
2025-03-05 09:30:29 PST
Committed
291631@main
(d5f2be06d7fd): <
https://commits.webkit.org/291631@main
> Reviewed commits have been landed. Closing PR #41871 and removing active labels.
EWS
Comment 6
2025-03-26 15:15:43 PDT
Committed
289651.340@safari-7621-branch
(e369065599cd): <
https://commits.webkit.org/289651.340@safari-7621-branch
> Reviewed commits have been landed. Closing PR #2890 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug