diff options
-rw-r--r-- | pygments/lexers/text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/text.py b/pygments/lexers/text.py index 43373790..6c2a4119 100644 --- a/pygments/lexers/text.py +++ b/pygments/lexers/text.py @@ -1683,7 +1683,7 @@ class CMakeLexer(RegexLexer): def analyse_text(text): exp = r'^ *CMAKE_MINIMUM_REQUIRED *\( *VERSION *\d(\.\d)* *( FATAL_ERROR)? *\) *$' - if re.search(exp, text, flags = re.MULTILINE | re.IGNORECASE): + if re.search(exp, text, flags=re.MULTILINE | re.IGNORECASE): return 0.8 return 0.0 |