diff options
author | Georg Brandl <georg@python.org> | 2020-09-08 20:20:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-08 20:20:19 +0200 |
commit | 9f5672672bd61f7149d2a165b49f0617a1a9fe8e (patch) | |
tree | ad3d62c5c167c6a75edf67a88c20341c77566c7e /pygments/lexers/haskell.py | |
parent | d9a9e9ee40eb9815ecc3d9ec9d6f5e57499009d2 (diff) | |
download | pygments-git-9f5672672bd61f7149d2a165b49f0617a1a9fe8e.tar.gz |
all: remove "u" string prefix (#1536)
* all: remove "u" string prefix
* util: remove unirange
Since Python 3.3, all builds are wide unicode compatible.
* unistring: remove support for narrow-unicode builds
which stopped being relevant with Python 3.3
Diffstat (limited to 'pygments/lexers/haskell.py')
-rw-r--r-- | pygments/lexers/haskell.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/haskell.py b/pygments/lexers/haskell.py index da86a507..497d4cf3 100644 --- a/pygments/lexers/haskell.py +++ b/pygments/lexers/haskell.py @@ -327,10 +327,10 @@ class AgdaLexer(RegexLexer): # Identifiers (r'\b(%s)(?!\')\b' % '|'.join(reserved), Keyword.Reserved), (r'(import|module)(\s+)', bygroups(Keyword.Reserved, Text), 'module'), - (u'\\b(Set|Prop)[\u2080-\u2089]*\\b', Keyword.Type), + (r'\b(Set|Prop)[\u2080-\u2089]*\b', Keyword.Type), # Special Symbols (r'(\(|\)|\{|\})', Operator), - (u'(\\.{1,3}|\\||\u03BB|\u2200|\u2192|:|=|->)', Operator.Word), + (r'(\.{1,3}|\||\u03BB|\u2200|\u2192|:|=|->)', Operator.Word), # Numbers (r'\d+[eE][+-]?\d+', Number.Float), (r'\d+\.\d+([eE][+-]?\d+)?', Number.Float), |