Skip to content

Commit

Permalink
Chevron: filter with '*' in front
Browse files Browse the repository at this point in the history
  • Loading branch information
EcljpseB0T authored and jukzi committed Sep 24, 2024
1 parent 0986115 commit 76f1a4d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,9 @@ private void setMatcherString(String pattern) {
fSearchPattern = null;
} else {
SearchPattern patternMatcher = new SearchPattern();
if (!pattern.startsWith("*")) { //$NON-NLS-1$
pattern = "*" + pattern; //$NON-NLS-1$
}
patternMatcher.setPattern(pattern);
fSearchPattern = patternMatcher;
}
Expand Down

0 comments on commit 76f1a4d

Please sign in to comment.