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 committed Sep 19, 2024
1 parent 88b1d36 commit cdc28ce
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 cdc28ce

Please sign in to comment.