class_docstr: Lexer for Forth files.
  
  .. versionadded:: 2.2
class_docstr_tok: ["Lexer","for","Forth","files",".","..","versionadded",":",":","2.2"]
docstr: Forth uses : COMMAND ; quite a lot in a single line, so we're trying
  to find that.
docstr_tok: ["Forth","uses",":","COMMAND",";","quite","a","lot","in","a","single","line",",","so","we","'re","trying","to","find","that","."]
code: def analyse_text(text):
      """Forth uses : COMMAND ; quite a lot in a single line, so we're trying
      to find that."""
      if re.search("\n:[^\n]+;\n", text):
          return 0.3
  
imports: import re
  from pygments.lexer import RegexLexer, bygroups
  from pygments.token import Text, Comment, Keyword, Name, String, Number, Whitespace
label_desc: Use image node_id 1 for calling the ForthLexer obj's underlying member method code with example usage: obj.analyse_text(text) and returns: int