YBFjlddZddlmZmZddlmZmZmZmZm Z m Z m Z m Z dgZ GddeZdS)z pygments.lexers.bdd ~~~~~~~~~~~~~~~~~~~ Lexer for BDD(Behavior-driven development). :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexerinclude)CommentKeywordNameStringNumberText Punctuation WhitespaceBddLexerc eZdZdZdZdgZdgZdgZdZdZ dZ d e fgd e fd e jfd efd e jfgdefgdefe efedededdefgdZdZdS)r z Lexer for BDD(Behavior-driven development), which highlights not only keywords, but also comments, punctuations, strings, numbers, and variables. Bddbddz *.featurez text/x-bddz9https://en.wikipedia.org/wiki/Behavior-driven_developmentz2.11zQGiven|When|Then|Add|And|Feature|Scenario Outline|Scenario|Background|Examples|Butz^\s*#.*$z,(<|>|\[|\]|=|\||:|\(|\)|\{|\}|,|\.|;|-|_|\$)z((?<=\<)[^\\>]+(?=\>))z "([^\"]*)"z^@\S+z&(\d+\.?\d*|\d*\.\d+)([eE][+-]?[0-9]+)?z\n|\s+comments miscellaneousnumbersz\S+)rrrrootcdS)N)selftexts AC:\PYTHON\_runtimes\venv\Lib\site-packages\pygments/lexers/bdd.py analyse_textzBddLexer.analyse_text8sN)__name__ __module__ __qualname____doc__namealiases filenames mimetypesurl version_added step_keywordsrr rVariablerLabelr r rrr tokensrrrrr r s DgG II ECM9M ' " =k J & 6 F # tz "  7 ?  # G $ GJ   GO $ $ GI   TN  F.rN)rpygments.lexerrrpygments.tokenrrrrr r r r __all__r rrrr-s/....... ,(((((z(((((r