class_docstr: Lexer for HTTP sessions.
  
  .. versionadded:: 1.5
code: def analyse_text(text):
      return any(
          re.search(pattern, text) is not None
          for pattern in (
              r"^([a-zA-Z][-_a-zA-Z]+)( +)([^ ]+)( +)(HTTP)(/)(1\.[01]|2(?:\.0)?|3)(\r?\n|\Z)",
              r"^(HTTP)(/)(1\.[01]|2(?:\.0)?|3)( +)(\d{3})(?:( +)([^\r\n]*))?(\r?\n|\Z)",
          )
      )
  
imports: import re
  from pygments.lexers import guess_lexer, get_lexer_by_name
  from pygments.lexer import RegexLexer, bygroups, default, include
  from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal, Punctuation
  from pygments.util import ClassNotFound
label_desc: Use image node_id 5 for calling the HttpLexer obj's underlying member method code with example usage: obj.analyse_text(text) and returns: any