mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 199609, ignore whitespace.
This commit is contained in:
parent
b9ff3bf0f9
commit
c4399d7061
1 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,8 @@ public class PDOMSearchPatternQuery extends PDOMSearchQuery {
|
|||
super(scope, flags);
|
||||
this.scopeDesc = scopeDesc;
|
||||
|
||||
this.patternStr = patternStr;
|
||||
// remove spurious whitespace, which will make the search fail 100% of the time
|
||||
this.patternStr = patternStr.trim();
|
||||
|
||||
// Parse the pattern string
|
||||
List patternList = new ArrayList();
|
||||
|
|
Loading…
Add table
Reference in a new issue