code: def regexp(__string: str, __pattern: str, __repl: Union[Callable, str], *,
             count: int = 0, flags: int = 0) -> str:
      
      return re.sub(__pattern, __repl, __string, count, flags)
docs: Jinja filter for regexp replacements.
  
      See :func:`re.sub` for documentation.
  
      Returns:
          Text with substitutions applied