angular-ui/ui-grid

SyntaxError: Invalid regular expression: /^/[\s\S]*?+$/: Nothing to repeat when entering the filter term "*+" or "*(" etc

Open

#6.335 geöffnet am 25. Juli 2017

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
good first issue

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I m using the latest version v4.0.6, before this I was using v4.0.4, I get the following stacktrace after entering "+", "(", "*)" as the filter expression.

SyntaxError: Invalid regular expression: /^[\s\S]*?+$/: Nothing to repeat
at RegExp (<anonymous>)
at Object.guessCondition (ui-grid.js:9731)
at Object.setupFilters (ui-grid.js:9782)
at Object.search (ui-grid.js:9997)
at Grid.searchRows (ui-grid.js:5579)
at startProcessor (ui-grid.js:5073)
at handleProcessedRows (ui-grid.js:5089)
at angular.js:15757
at m.$eval (angular.js:17025)
at m.$digest (angular.js:16841)

I have used to sort out this by "condition: uiGridConstants.filter.CONTAINS", it works on grids having server side filtering while its not working for other grids

Contributor Guide