diff options
Diffstat (limited to 'pygments/lexers/postgres.py')
-rw-r--r-- | pygments/lexers/postgres.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/postgres.py b/pygments/lexers/postgres.py index a460d1fe..8b584811 100644 --- a/pygments/lexers/postgres.py +++ b/pygments/lexers/postgres.py @@ -42,7 +42,7 @@ class PostgresLexer(RegexLexer): (r'(' + '|'.join([s.replace(" ", "\s+") for s in DATATYPES]) + r')\b', Name.Builtin), (r'(' + '|'.join(KEYWORDS) + r')\b', Keyword), - (r'[+*/<>=~!@#%^&|`?^-]', Operator), + (r'[+*/<>=~!@#%^&|`?^-]+', Operator), (r'::', Operator), # cast (r'([0-9]*\.[0-9]*|[0-9]+)(e[+-]?[0-9]+)?', Number.Float), (r'[0-9]+', Number.Integer), |