diff options
author | Anteru <bitbucket@ca.sh13.net> | 2018-12-13 19:19:04 +0000 |
---|---|---|
committer | Anteru <bitbucket@ca.sh13.net> | 2018-12-13 19:19:04 +0000 |
commit | d041d381f04383e3cf7354b04fc3abeff5ae5923 (patch) | |
tree | d2795bfcbb0b598bdcb14c29be4efe74c1017463 /pygments/lexers/typoscript.py | |
parent | 82ff414ae4d89e2ff9712c625ef75420e5e5eaae (diff) | |
parent | f2e2c428a0c7f2ac4ea7ce119ed69b7b26bdf8f4 (diff) | |
download | pygments-git-d041d381f04383e3cf7354b04fc3abeff5ae5923.tar.gz |
Merged in t-b/pygments-main (pull request #764)
Update for Igor Pro 8
Diffstat (limited to 'pygments/lexers/typoscript.py')
-rw-r--r-- | pygments/lexers/typoscript.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/typoscript.py b/pygments/lexers/typoscript.py index e358af07..7da87c75 100644 --- a/pygments/lexers/typoscript.py +++ b/pygments/lexers/typoscript.py @@ -132,7 +132,7 @@ class TypoScriptLexer(RegexLexer): ], 'keywords': [ # Conditions - (r'(\[)(?i)(browser|compatVersion|dayofmonth|dayofweek|dayofyear|' + (r'(?i)(\[)(browser|compatVersion|dayofmonth|dayofweek|dayofyear|' r'device|ELSE|END|GLOBAL|globalString|globalVar|hostname|hour|IP|' r'language|loginUser|loginuser|minute|month|page|PIDinRootline|' r'PIDupinRootline|system|treeLevel|useragent|userFunc|usergroup|' @@ -172,7 +172,7 @@ class TypoScriptLexer(RegexLexer): 'html': [ (r'<\S[^\n>]*>', using(TypoScriptHtmlDataLexer)), (r'&[^;\n]*;', String), - (r'(_CSS_DEFAULT_STYLE)(\s*)(\()(?s)(.*(?=\n\)))', + (r'(?s)(_CSS_DEFAULT_STYLE)(\s*)(\()(.*(?=\n\)))', bygroups(Name.Class, Text, String.Symbol, using(TypoScriptCssDataLexer))), ], 'literal': [ |