summaryrefslogtreecommitdiff
path: root/pygments
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-04-12 09:42:13 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-04-12 09:42:13 +0100
commit65f922591a2c55d7955bcd3fb607fd529b391d5e (patch)
treee962b842cfa0c8c60d5673ffb0892296df3b5388 /pygments
parent5c78ceb3e427f352a5bd28d75b0e42293a9d03bf (diff)
downloadpygments-65f922591a2c55d7955bcd3fb607fd529b391d5e.tar.gz
Identify the name of a PostgreSQL procedure language also when quoted
Diffstat (limited to 'pygments')
-rw-r--r--pygments/lexers/postgres.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/postgres.py b/pygments/lexers/postgres.py
index 1bb38556..583e118d 100644
--- a/pygments/lexers/postgres.py
+++ b/pygments/lexers/postgres.py
@@ -25,7 +25,7 @@ __all__ = [ 'PostgresLexer', 'PostgresConsoleLexer' ]
line_re = re.compile('.*?\n')
-language_re = re.compile(r'\s+LANGUAGE\s+(\w+)')
+language_re = re.compile(r"\s+LANGUAGE\s+'?(\w+)'?")
class PostgresLexer(RegexLexer):
"""