Summary: | String.prototype.split gives incorrect result in some cases: "a".split(/$/) == ["a",""] not ["a"]. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Lasse Reichstein Holst Nielsen <lrn> | ||||
Component: | JavaScriptCore | Assignee: | Matthew Mirman <mmirman> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | fpizlo, ggaren, mmirman, msaboff, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Lasse Reichstein Holst Nielsen
2014-10-28 02:44:21 PDT
Created attachment 245088 [details]
Updated split such that it does not include the empty end of line string.
Patch landed: http://trac.webkit.org/changeset/178860 Closing bug. |