Hi,
I have a feed which I would like to filter to only include a certain type of product. I figure the best way of doing this is with a regular expression filter.
I tried adding the following regex to a filter:
/dvd/i
DVD being the word I want to match. However when I try and import, nothing is imported, despite there being hundreds of products which match the pattern.
Am I doing something wrong?!
Cheers
J
Hi Jamie,
The filter currently uses POSIX regular expressions, but the PHP function used by this feature is being depreciated; so I'll look to update the distribution with the PERL compatible regexp functions.
In the mean time, try using the following version as your filter configuration value:
(DVD|dvd|Dvd)
Hope this helps.
David.