diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-04-14 20:41:45 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-04-14 20:41:45 +0100 |
commit | 0d94f7f6fa7b5a7cb2df723016330cd26d2f1bc5 (patch) | |
tree | 1ff583c248014bd94368bc2e1c62f4746ada3a4d /pygments/lexers/postgres.py | |
parent | 66abb9fd7452fcf940d7fff3d57acc6bcdb47dab (diff) | |
download | pygments-0d94f7f6fa7b5a7cb2df723016330cd26d2f1bc5.tar.gz |
Ignore case of the language in PostgreSQL $-string parsing
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 908beed8..afef1ea4 100644 --- a/pygments/lexers/postgres.py +++ b/pygments/lexers/postgres.py @@ -26,7 +26,7 @@ __all__ = [ 'PostgresLexer', 'PlPgsqlLexer', 'PostgresConsoleLexer' ] line_re = re.compile('.*?\n') -language_re = re.compile(r"\s+LANGUAGE\s+'?(\w+)'?") +language_re = re.compile(r"\s+LANGUAGE\s+'?(\w+)'?", re.IGNORECASE) class PostgresLexer(RegexLexer): """ |