code: def options(self, parser, env=os.environ):
          
  
          self.testMatchPat = env.get('NOSEBOOK_TESTMATCH',
                                      r'.*[Tt]est.*\.ipynb$')
  
          self.testMatchCellPat = env.get('NOSEBOOK_CELLMATCH',
                                          r'.*')
  
          parser.add_option(
              "--nosebook-match",
              action="store",
              dest="nosebookTestMatch",
              metavar="REGEX",
              help="Notebook files that match this regular expression are "
                   "considered tests.  "
                   "Default: %s [NOSEBOOK_TESTMATCH]" % self.testMatchPat,
              default=self.testMatchPat
          )
  
          parser.add_option(
              "--nosebook-match-cell",
              action="store",
              dest="nosebookTestMatchCell",
              metavar="REGEX",
              help="Notebook cells that match this regular expression are "
                   "considered tests.  "
                   "Default: %s [NOSEBOOK_CELLMATCH]" % self.testMatchCellPat,
              default=self.testMatchCellPat
          )
  
          parser.add_option(
              "--nosebook-scrub",
              action="store",
              default=env.get('NOSEBOOK_SCRUB'),
              dest="nosebookScrub",
              help="a quoted regex, or JSON obj/list of regexen to "
                   "scrub from cell outputs "
                   "[NOSEBOOK_SCRUB]")
  
          super(Nosebook, self).options(parser, env=env)
docs: advertise options