code: def check(self, text: str) -> Optional[str]:
      for regex in self.regexes:
          logging.debug(f"Trying regex {regex} on {text}")
          res = regex.search(text)
          logging.debug(f"Results: {res}")
          if res:
              return f"passed with regex {regex}"
  
file_path: Ciphey/ciphey/basemods/Checkers/regex.py
imports: import re
  from typing import Dict, Optional
  import logging
  from rich.logging import RichHandler
  from ciphey.iface import Checker, Config, ParamSpec, T, registry
label_desc: Use image node_id 3 for calling the RegexList obj's underlying member method code with example usage: obj.check(text) and returns: str, regex