Skip to content

Commit

Permalink
Fixed bug on choice EIP checking
Browse files Browse the repository at this point in the history
  • Loading branch information
joshiraez committed Jan 9, 2023
1 parent 63a2d51 commit 4096d0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public CamelEIPParser(TextDocumentItem textDocumentItem) {
}

public boolean canPutEIP(Position position) {
Pattern CHOICE_EIP_PATTERN = Pattern.compile("\\)\\s*.[c[h[o[i[c[e]?]?]?]?]?]?\\(?$", Pattern.MULTILINE);
Pattern CHOICE_EIP_PATTERN = Pattern.compile("\\)\\s*[.[c[h[o[i[c[e]?]?]?]?]?]?]?\\(?$", Pattern.MULTILINE);
ParserFileHelperUtil util = new ParserFileHelperUtil();
String textUntilPosition = util.getTextUntilPosition(document, position);

Expand Down

0 comments on commit 4096d0d

Please sign in to comment.