1. Steve Spigarelli
  2. pygments-main

Commits

Tim Hatch  committed af9f5e7

Remove reference to String.Regexp (#625)

  • Participants
  • Parent commits ece7e89
  • Branches default

Comments (0)

Files changed (1)

File pygments/lexers/agile.py

View file
             (r"'(\\\\|\\'|[^'])*'", String),
             (r'"(\\\\|\\"|[^"])*"', String),
             (r'`(\\\\|\\`|[^`])*`', String.Backtick),
-            (r'<([^\s>]+)>', String.Regexp),
+            (r'<([^\s>]+)>', String.Regex),
             (r'(q|qq|qw|qr|qx)\{', String.Other, 'cb-string'),
             (r'(q|qq|qw|qr|qx)\(', String.Other, 'rb-string'),
             (r'(q|qq|qw|qr|qx)\[', String.Other, 'sb-string'),