docs: def _filter(self, text):
          """Filter out the URL and email addresses."""
  
          if self.urls:
              text = RE_LINK.sub('', text)
          if self.emails:
              text = RE_MAIL.sub('', text)
          return text