Skip to content

Commit 28542f2

Browse files
prx-lmomportuga
authored andcommitted
[hotfix/6360]
- reverted back to lazy
1 parent 1201ad2 commit 28542f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/js/services/rowSearcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ module.service('rowSearcher', ['gridUtil', 'uiGridConstants', function (gridUtil
8484
if (/\*/.test(term)) {//this would check only start and end -> /^\*|\*$/
8585
var regexpFlags = (!filter.flags || !filter.flags.caseSensitive) ? 'i' : '';
8686
term = escapeRegExp(term);
87-
var reText = term.replace(/\\\*/g, '.*');//this would check only start and end -> /^\\\*|\\\*$/g
87+
var reText = term.replace(/\\\*/g, '.*?');//this would check only start and end -> /^\\\*|\\\*$/g
8888
return new RegExp('^' + reText + '$', regexpFlags);
8989
}
9090
// Otherwise default to default condition

0 commit comments

Comments
 (0)