Bug 289028
| Summary: | (Regression 290982@main) Regex regression related to non-capturing group combined with or | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | pfg |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ahmad.saleem792, daniel_liu4, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=288102 | ||
pfg
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
https://github.com/WebKit/WebKit/commit/5d4feeaef67a95a369beb8242abd28bf64bc4251 <- Reference
Radar WebKit Bug Importer
<rdar://problem/146065879>
daniel_liu4
*** Bug 289110 has been marked as a duplicate of this bug. ***
daniel_liu4
Pull request: https://github.com/WebKit/WebKit/pull/41871
EWS
Committed 291631@main (d5f2be06d7fd): <https://commits.webkit.org/291631@main>
Reviewed commits have been landed. Closing PR #41871 and removing active labels.
EWS
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.