A couple of subtests of subtests of js/regexp-zero-length-alternatives.html fail when using the YARR interpreter. These subtests all involve the RegExp: /(?:a*?|b*?)*/. var re32 = new RegExp(/(?:a*?|b*?)*/); "aaaa".match(re32); // Hangs, should return "aaaa" "abab".match(re32); // Hangs, should return "abab" "ab".match(re32); // Returns "", should return "ab" "xabx".match(re32); // Hangs, should return "ab"
<rdar://problem/40992533>
Created attachment 342429 [details] Patch
Comment on attachment 342429 [details] Patch Clearing flags on attachment: 342429 Committed r232718: <https://trac.webkit.org/changeset/232718>
All reviewed patches have been landed. Closing bug.