diff --git a/core/modules/filters.js b/core/modules/filters.js index c9fae0b70..6c49d4e99 100644 --- a/core/modules/filters.js +++ b/core/modules/filters.js @@ -70,6 +70,8 @@ function parseFilterOperation(operators,filterString,p) { rexMatch = rex.exec(filterString.substring(p)); if(rexMatch) { operator.regexp = new RegExp(rexMatch[1], rexMatch[2]); +// Deprecation warning +console.log("WARNING: Filter",operator.operator,"has a deprecated regexp operand",operator.regexp); nextBracketPos = p + rex.lastIndex - 1; } else {