Skip to content

Commit

Permalink
bug_fix, add parentheses into regex detector
Browse files Browse the repository at this point in the history
  • Loading branch information
uniquetruth authored Aug 16, 2022
1 parent 95b6d68 commit 64a78c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public int getPriority() {
// can both use String or regexString as scope
private class Scope {
// ignore . and $ , because they are legal characters in Class name
private Pattern isRegex = Pattern.compile("[\\^*?+\\-{}\\[\\]\\|\\\\]");
private Pattern isRegex = Pattern.compile("[()\\^*?+\\-{}\\[\\]\\|\\\\]");

private Pattern regex = null;
private String annoScope = null;
Expand Down

0 comments on commit 64a78c2

Please sign in to comment.