class_docstr: Lexer for CMake files.
  
  .. versionadded:: 1.2
class_docstr_tok: ["Lexer","for","CMake","files",".","..","versionadded",":",":","1.2"]
code: def analyse_text(text):
      exp = (
          r"^[ \t]*CMAKE_MINIMUM_REQUIRED[ \t]*"
          r"\([ \t]*VERSION[ \t]*\d+(\.\d+)*[ \t]*"
          r"([ \t]FATAL_ERROR)?[ \t]*\)[ \t]*"
          r"(#[^\n]*)?$"
      )
      if re.search(exp, text, flags=re.MULTILINE | re.IGNORECASE):
          return 0.8
      return 0.0
  
file_path: catboost/contrib/python/Pygments/py3/pygments/lexers/make.py
imports: import re
  from pygments.lexer import Lexer, RegexLexer, include, bygroups, do_insertions, using
  from pygments.token import Text, Comment, Operator, Keyword, Name, String, Punctuation, Whitespace
  from pygments.lexers.shell import BashLexer
label_desc: Use image node_id 1 for calling the CMakeLexer obj's underlying member method code with example usage: obj.analyse_text(text) and returns: int, int