docs: def accepts(regex, negate, *values):
      """Given a compiled regex and a negate, find if any of the values match.
  
      Args:
          regex (Pattern):
          negate (bool):
          *values (str):
  
      Returns:
  
      """
      return any(v and regex.search(v) for v in values) != negate