In the console: 'a'.split(/\s+/) ["a"] ''.split(/\s+/) [""] ''.split(/\s+/) [] Notice the last two are identical, but give different answers. Other browsers and older webkit give the [""]. This seems to break some pages of Google apps for your domain admin.
This is a regression from Safari 5.0.1.
<rdar://problem/8354205>
This bug is due to the single entry regexp cache. That regexp cache has been removed in https://bugs.webkit.org/attachment.cgi?id=65336 as part of resolving https://bugs.webkit.org/show_bug.cgi?id=44555. A test for this corner case will be added.
Created attachment 65478 [details] Patch with new regression test for this issue. The underlying problem was fixed in bug https://bugs.webkit.org/show_bug.cgi?id=44555.
Comment on attachment 65478 [details] Patch with new regression test for this issue. Clearing flags on attachment: 65478 Committed r66075: <http://trac.webkit.org/changeset/66075>
All reviewed patches have been landed. Closing bug.