Status: New Owner: ---- New issue 430 by locriani: Regex hardlock http://code.google.com/p/v8/issues/detail?id=430
This only causes issues in chrome and firefox as per our testing. Downstream ticket was created for chrome. <script type="text/javascript"> // This full regex locks the browser when used to match the the string in s // var POST_RE = /(<div.*?id="?dsq-comment-header-(\d+)"?.*?>)((? :.|\s)*?)(<\/div>)\s*(<div.*?class="?dsq-comment-body"?.*?>)((? :.|\s)*)(<\/div>)/gim; // I've narrowed it down to this piece causing the hard lock: var POST_RE = /((?:.|\s)*?)(<\/div>)\s*(<div.*?class="?dsq-comment- body"?.*?>)/gim; var s = '<a href="www.cleanwaterwarrior.com" rel="nofollow"> </a><div id="dsq-comment-header-15147155" class="dsq-comment- header"><a href="www.cleanwaterwarrior.com" rel="nofollow"> <cite id="dsq-cite-15147155" class="dsq-comment-cite"> <span id="dsq- author-user-15147155">stoppanamlot</span> </cite> </a></div><a href="www.cleanwaterwarrior.com" rel="nofollow"> </a><div id="dsq-comment-body-15147155" class="dsq-comment- body"><a href="www.cleanwaterwarrior.com" rel="nofollow"> </a><div id="dsq-comment-message-15147155" class="dsq-comment- message"><a href="www.cleanwaterwarrior.com" rel="nofollow">Ford is partnering with a known polluter in our town and jeopardizing our water. We need some Ford charity in </a><a href="http://www.cleanwaterwarrior.com" rel="nofollow">Ayer,MA</a></div> </div>'; s.match(POST_RE); document.write(new Date()); </script> -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
