support negative matching criterias
replay opened this issue · 2 comments
replay commented
In routes and aggregators crng supports the filters prefix
, sub
, regex
. We should add support for the inverted filters too, as I've seen multiple cases where this would have been useful. This could either be done by adding notPrefix
, notSub
, notRegex
or we could add a simple invertFilter
flag to inver the prefix
/sub
/regex
.
replay commented
I prefer adding notPrefix
, notSub
and notRegex
, over adding an invertFilter
flag. Because this makes it possible to combine positive and negative filter criteria together.