diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-04-12 09:42:13 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-04-12 09:42:13 +0100 |
commit | 65f922591a2c55d7955bcd3fb607fd529b391d5e (patch) | |
tree | e962b842cfa0c8c60d5673ffb0892296df3b5388 /pygments | |
parent | 5c78ceb3e427f352a5bd28d75b0e42293a9d03bf (diff) | |
download | pygments-65f922591a2c55d7955bcd3fb607fd529b391d5e.tar.gz |
Identify the name of a PostgreSQL procedure language also when quoted
Diffstat (limited to 'pygments')
-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 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): """ |