diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-06-01 20:54:44 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-06-01 20:54:44 +0300 |
commit | b3edd8fd3977bf76d3179c7562bb18708a9e3bd2 (patch) | |
tree | fc8b45728c985e63439f87163d6970fd40c8cc39 | |
parent | a5ca02964ca988807d8b796a7994feeabe6d6ef9 (diff) | |
download | fable-poc-b3edd8fd3977bf76d3179c7562bb18708a9e3bd2.tar.gz |
Change: handle keywords as if they're always in lower case
-rwxr-xr-x | ftt-docgen | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ def format_scenario_step(bind, line, prev_keyword): for b in bind: if real_keyword not in b: continue - m = re.match(b[real_keyword], line, re.I) + m = re.match(b[real_keyword.lower()], line, re.I) if m and m.end() == len(line): debug(' found binding: {!r}'.format(b)) n = len(m.groups()) |