You are here:  » Global Filter Drop Record RegExp not always working


Global Filter Drop Record RegExp not always working

Submitted by tobyhage on Tue, 2017-08-08 20:01 in

Hello David,

I have an issue with Global Filter Drop Record RegExp.

Field: product Name
Value: /.*(buckle|cadeaubon|webbing|scheerlijn|impregneermiddel|servies|stoel|grondzeil).*/i

Regular expression tested with: https://regex101.com/

Some records are not removed. For Example:

Easy Camp Stoel Spica

and

Easy Camp Stoel Capella

What can be the problem?

Submitted by support on Wed, 2017-08-09 07:57

Hi Toby,

That's strange, I made a test using the exact same regexp and product name and the filter set the drop record flag - one thing to try is using word boundary matching in place of the wildcards - have a go with:

/\b(buckle|cadeaubon|webbing|scheerlijn|impregneermiddel|servies|stoel|grondzeil)\b/i

If still no joy, if you'd like to email me the feed containing those products that are not dropped (zipped if large or alternatively link to it) i'll check it out on my test server for you...

Cheers,
David.
--
PriceTapestry.com