REGRESSION(r222601): We fail to properly backtrack into a sub pattern of a parenthesi...
[WebKit-https.git] / JSTests / stress / regress-178890.js
1 // Regression test for bug 178890
2
3 if (!/:(?:\w)+\(([']?)((?:\([^\)]+\)|[^\(\)]*){1,2})\1\)/.test(":not('.hs-processed')"))
4     throw "/:(?:\w)+\(([']?)((?:\([^\)]+\)|[^\(\)]*){1,2})\1\)/.test(\":not('.hs-processed')\") should succeed, but actually fails";