1. Jeffrey Arnold
  2. pygments-stan

Commits

Tim Hatch  committed f3975b0

Clarify that \--/ is intented to match 3 characters, literal dash, period, and forward slash.

  • Participants
  • Parent commits 7548094
  • Branches default

Comments (0)

Files changed (1)

File pygments/lexers/agile.py

View file
  • Ignore whitespace
             (r"`\w+'*`", Operator), # Infix links
             #   Reserved infix links
             (r'\b(or|and|if|unless|else|where|is|in)\b', Operator.Word),
-            (r'[!$%&*+\--/:<-@\\^|~;,]+', Operator),
+            (r'[!$%&*+\-./:<-@\\^|~;,]+', Operator),
             #  Identifiers
             #   Python 3 types
             (r"(?<!\.)(bool|bytearray|bytes|classmethod|complex|dict'?|"