Skip to content

Commit

Permalink
Bugfix for case insensitive Gherkin #57
Browse files Browse the repository at this point in the history
  • Loading branch information
hski-github committed Nov 5, 2014
1 parent 248bd46 commit 2cb7878
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified generated-test-resources.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public BrushGherkin() {
_regExpRuleList.add(new RegExpRule(RegExpRule.doubleQuotedString, "string")); // strings
_regExpRuleList.add(new RegExpRule(RegExpRule.singleQuotedString, "string")); // strings
_regExpRuleList.add(new RegExpRule("@.*$", Pattern.MULTILINE, "color1")); // @tags
_regExpRuleList.add(new RegExpRule("^\\s*(But |And |Then |When |Given |Scenarios|Examples|Scenario Template|Scenario Outline|Scenario|Background|Feature)", Pattern.MULTILINE, "keyword")); // english
_regExpRuleList.add(new RegExpRule("^\\s*(But |And |Then |When |Given |Scenarios|Examples|Scenario Template|Scenario Outline|Scenario|Background|Feature)", Pattern.MULTILINE | Pattern.CASE_INSENSITIVE, "keyword")); // english

setRegExpRuleList(_regExpRuleList);

Expand Down

0 comments on commit 2cb7878

Please sign in to comment.