text: /* 8347
   * (?i)(?s)<a[^>]+?href="?(?<url>[^"]+)"?>(?<innerHtml>.+?)</a\s*>
   * POLYNOMIAL
   * nums:3
   * POLYNOMIAL AttackString:""+"is<a"*10000+"@1 _SLQ_2"
   */
  var REGEX = new RegExp("(?i)(?s)<a[^>]+?href="?(?<url>[^"]+)"?>(?<innerHtml>.+?)</a\s*>")
  for(var i = 1; i <= 5000000; i++) {
      var time = Date.now();
      var attack_str = '' + 'is<a'.repeat(i*10000) + '@1 _SLQ_2'
      REGEX.exec(attack_str)
      // REGEX.test(attack_str);
      // attack_str.search(REGEX)
      // attack_str.match(REGEX)
      var time_cost = Date.now() - time;
      console.log(i * 10000 + ": " + time_cost+" ms")
  }