o ‡ÎÖaaã@sVdZddlmZmZddlmZmZmZmZm Z m Z m Z m Z dgZ Gdd„deƒZdS)a' pygments.lexers.bdd ~~~~~~~~~~~~~~~~~~~ Lexer for BDD(Behavior-driven development). More information: https://en.wikipedia.org/wiki/Behavior-driven_development :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. é)Ú RegexLexerÚinclude)ÚCommentÚKeywordÚNameÚStringÚNumberÚTextÚ PunctuationÚ WhitespaceÚBddLexerc @sŒeZdZdZdZdgZdgZdgZdZde fgde fd e j fd e fd e jfgd efgd efeefedƒedƒedƒdefgdœZdd„ZdS)r z¼ Lexer for BDD(Behavior-driven development), which highlights not only keywords, but also comments, punctuations, strings, numbers, and variables. .. versionadded:: 2.11 ÚBddÚbddz *.featurez text/x-bddzQGiven|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Ú miscellaneousÚnumbersz\S+)rrrÚrootcCsdS)N©)ÚselfÚtextrrú5/usr/lib/python3/dist-packages/pygments/lexers/bdd.pyÚ analyse_text7szBddLexer.analyse_textN)Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚnameÚaliasesÚ filenamesÚ mimetypesÚ step_keywordsrr rÚVariablerÚLabelrr rrr Útokensrrrrrr s2ÿüÿúó N)rÚpygments.lexerrrÚpygments.tokenrrrrrr r r Ú__all__r rrrrÚs  (