code: def detectors(regex=None, sep='\t', temporary=False):
      
      db = DBManager(temporary=temporary)
      dt = db.detectors
      if regex is not None:
          try:
              re.compile(regex)
          except re.error:
              log.error("Invalid regex!")
              return
          dt = dt[dt['OID'].str.contains(regex) | dt['CITY'].str.contains(regex)]
      dt.to_csv(sys.stdout, sep=sep)
docs: Print the detectors table