diff options
author | Tim Hatch <tim@timhatch.com> | 2014-10-04 11:06:28 -0700 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2014-10-04 11:06:28 -0700 |
commit | 900ce2be770ce98e7a93d5e687ae6a0184b2015c (patch) | |
tree | 79326f0131a31ddb903294f2e21973a7de1c6a6a /pygments/lexers/haskell.py | |
parent | 9bfaf9454e6301a6b5da0c30f4ca029c1f227a97 (diff) | |
download | pygments-900ce2be770ce98e7a93d5e687ae6a0184b2015c.tar.gz |
Fix minor problems noted by regexlint and 'make check'
Diffstat (limited to 'pygments/lexers/haskell.py')
-rw-r--r-- | pygments/lexers/haskell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/haskell.py b/pygments/lexers/haskell.py index 6cee1223..9b13cbc6 100644 --- a/pygments/lexers/haskell.py +++ b/pygments/lexers/haskell.py @@ -320,7 +320,7 @@ class AgdaLexer(RegexLexer): 'module': [ (r'{-', Comment.Multiline, 'comment'), (r'[a-zA-Z][\w.]*', Name, '#pop'), - (r'[^a-zA-Z]*', Text) + (r'[^a-zA-Z]+', Text) ], 'comment': HaskellLexer.tokens['comment'], 'character': HaskellLexer.tokens['character'], |