class_docstr: Lexer for (ba|k|z|)sh shell scripts.
  
  .. versionadded:: 0.6
class_docstr_tok: ["Lexer","for","(","ba|k|z|",")","sh","shell","scripts",".","..","versionadded",":",":","0.6"]
code: def analyse_text(text):
      if shebang_matches(text, r"(ba|z|)sh"):
          return 1
      if text.startswith("$ "):
          return 0.2
  
imports: import re
  from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, include, default, this, using, words
  from pygments.token import Punctuation, Text, Comment, Operator, Keyword, Name, String, Number, Generic
  from pygments.util import shebang_matches
label_desc: Use image node_id 1 for calling the BashLexer obj's underlying member method code with example usage: obj.analyse_text(text) and returns: int, int