diff options
author | Santiago Alejandro Agüero <saaguero@users.gitlab.com> | 2017-07-20 16:18:56 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-03-19 15:33:48 +0100 |
commit | 0a046b5978be94e5bd86487b41bd921745dc50ad (patch) | |
tree | cc14707c79f399d098249df024775449bc3f9227 | |
parent | 38511212bffa8e4dc0bed9c8fd0086ade5197144 (diff) | |
download | cucutags-master.tar.gz |
Fixes: gb#ab139b9
-rwxr-xr-x | cucutags.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cucutags.py b/cucutags.py index 28bce1a..4e6ca75 100755 --- a/cucutags.py +++ b/cucutags.py @@ -41,8 +41,8 @@ class Target(object): """ Represents one line from the Python modules. """ - pattern = re.compile(r"^\s*@(step|when|given|then)\(u?'(.*)'\)") - cleanRE = re.compile('^(step|when|given|then)\s*', re.IGNORECASE) + pattern = re.compile(r"^\s*@(step|when|given|then|and)\(u?'(.*)'\)") + cleanRE = re.compile('^(step|when|given|then|and)\s*', re.IGNORECASE) result = 'targets' def __init__(self, text, filename, lineno): |