text: # 3323
  # <\/*?(?![^>]*?\b(?:a|img)\b)[^>]*?>
  # POLYNOMIAL
  # nums:4
  # POLYNOMIAL AttackString:""+"<"*10000+"◎@! _1SLQ_2"
  
  import re
  from time import perf_counter
  
  regex = """<\/*?(?![^>]*?\b(?:a|img)\b)[^>]*?>"""
  REGEX = re.compile(regex)
  for i in range(0, 150000):
      ATTACK = "" + "<" * i * 10000 + "◎@! _1SLQ_2"
      LEN = len(ATTACK)
      BEGIN = perf_counter()
      m = REGEX.search(ATTACK)
      # m = REGEX.match(ATTACK)
      DURATION = perf_counter() - BEGIN
      print(f"{i *10000}: took {DURATION} seconds!")