text: """
  This example demonstrates a simple text highlighter.
  """
  
  from mudrich.console import Console
  from mudrich.highlighter import RegexHighlighter
  from mudrich.theme import Theme
  
  
  class EmailHighlighter(RegexHighlighter):
      """Apply style to anything that looks like an email."""
  
      base_style = "example."
      highlights = [r"(?P<email>[\w-]+@([\w-]+\.)+[\w-]+)"]
  
  
  theme = Theme({"example.email": "bold magenta"})
  console = Console(highlighter=EmailHighlighter(), theme=theme)
  
  console.print("Send funds to money@example.org")
  