Skip to content

Commit

Permalink
DefaultParser: fixed default variable regex
Browse files Browse the repository at this point in the history
  • Loading branch information
mattirn committed Nov 20, 2020
1 parent eb3e07c commit d66e734
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public enum Bracket {

private char[] closingBrackets = null;

private String regexVariable = "[a-zA-Z_]+[a-zA-Z0-9_-]*((.|\\['|\\[\"|\\[)[a-zA-Z0-9_-]*(|']|\"]|\\]))?";
private String regexVariable = "[a-zA-Z_]+[a-zA-Z0-9_-]*((\\.|\\['|\\[\"|\\[)[a-zA-Z0-9_-]*(|']|\"]|]))?";
private String regexCommand = "[:]?[a-zA-Z]+[a-zA-Z0-9_-]*";
private int commandGroup = 4;

Expand Down

0 comments on commit d66e734

Please sign in to comment.