The famous &quot;Gruber URL regexp&quot;, before an update in 2014, would run in exponential time given some URLs that contained parens.<p>I noticed this when a web app I worked on froze on certain pages. Runaway regexp matching is one of the easiest ways to really lock a JavaScript thread.