code: def run(self, text):
          
          for regex in self.regexes:
              text = regex.sub(self.repl, text)
          return text
docs: Run each regex substitution on ``text``.
  
          Args:
              text (string): the input text.
  
          Returns:
              string: text after all substitutions have been sequentially
              applied.