diff options
author | robot-piglet <[email protected]> | 2024-05-20 07:58:40 +0300 |
---|---|---|
committer | robot-piglet <[email protected]> | 2024-05-20 08:05:00 +0300 |
commit | bcd5bcc390793791d293d386b2ebefbe683fb4e1 (patch) | |
tree | c93e3b8c847237e7e7626f4a07f1b657bb34f04d /contrib/python/Pygments/py3/pygments/lexers/bdd.py | |
parent | 1a9f1508fe9c8c5927ffebf33197a6108e70501d (diff) |
Intermediate changes
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/lexers/bdd.py')
-rw-r--r-- | contrib/python/Pygments/py3/pygments/lexers/bdd.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/contrib/python/Pygments/py3/pygments/lexers/bdd.py b/contrib/python/Pygments/py3/pygments/lexers/bdd.py index 8cf47f8de60..01688d572c1 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/bdd.py +++ b/contrib/python/Pygments/py3/pygments/lexers/bdd.py @@ -3,9 +3,8 @@ ~~~~~~~~~~~~~~~~~~~ Lexer for BDD(Behavior-driven development). - More information: https://en.wikipedia.org/wiki/Behavior-driven_development - :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -19,14 +18,14 @@ class BddLexer(RegexLexer): """ Lexer for BDD(Behavior-driven development), which highlights not only keywords, but also comments, punctuations, strings, numbers, and variables. - - .. versionadded:: 2.11 """ name = 'Bdd' aliases = ['bdd'] filenames = ['*.feature'] mimetypes = ['text/x-bdd'] + url = 'https://en.wikipedia.org/wiki/Behavior-driven_development' + version_added = '2.11' step_keywords = (r'Given|When|Then|Add|And|Feature|Scenario Outline|' r'Scenario|Background|Examples|But') |