text: # 4157
  # \A(.*?)\s+(\d+[a-zA-Z]{0,1}\s{0,1}[-]{1}\s{0,1}\d*[a-zA-Z]{0,1}|\d+[a-zA-Z-]{0,1}\d*[a-zA-Z]{0,1})
  # POLYNOMIAL
  # nums:5
  # POLYNOMIAL AttackString:"1-A "+"1"*10000+"! _1SLQ_2"
  
  import re2 as re
  from time import perf_counter
  
  regex = """\A(.*?)\s+(\d+[a-zA-Z]{0,1}\s{0,1}[-]{1}\s{0,1}\d*[a-zA-Z]{0,1}|\d+[a-zA-Z-]{0,1}\d*[a-zA-Z]{0,1})"""
  REGEX = re.compile(regex)
  for i in range(0, 150000):
      ATTACK = "1-A " + "1" * 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!")