class_docstr: Lexer for `CMake <http://cmake.org/Wiki/CMake>`_ files.
  
  .. versionadded:: 1.2
class_docstr_tok: ["Lexer","for","`","CMake","<","http",":","\/\/cmake.org\/Wiki\/CMake",">","`","_","files",".","..","versionadded",":",":","1.2"]
code: def analyse_text(text):
      exp = r"^ *CMAKE_MINIMUM_REQUIRED *\( *VERSION *\d(\.\d)* *( FATAL_ERROR)? *\) *$"
      if re.search(exp, text, flags=re.MULTILINE | re.IGNORECASE):
          return 0.8
      return 0.0
  
file_path: catboost/contrib/python/Pygments/py2/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
  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