3

V'íctã@sVdZddlmZmZddlmZmZmZmZm	Z	m
Z
mZm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-2022 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	ejfd
e
fdejfgd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
    ZBddZbddz	*.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+)r
rrÚrootcCsdS)N©)ÚselfÚtextrrú7/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/bdd.pyÚanalyse_text9szBddLexer.analyse_textN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚ	mimetypesZ
step_keywordsrr
rÚVariablerZLabelrrrrr	Útokensrrrrrrs&
N)rZpygments.lexerrrZpygments.tokenrrrrrr	r
rÚ__all__rrrrrÚ<module>
s(