Copy filter misbehaving?

I have a copy filter where I want to copy all of the files with a particular file name extension (no problem there) but also where they contain either one of two text strings that need to be entered as a regular expression.

It can be seen in the attached screen shots.

I have also attached a file that meets the criteria of the search, yet it does not get copied.

Interestingly, if I change the order of the "Contains" clauses, it does work. I guess the first regular expression is somehow important?

V V strange.

Dave A (36.2 KB)

Thanks for the report.

It looks like there is a bug where a regular-expression Contains clause failing causes the whole filter to fail. (By fail, I mean not match the file.) We'll look into that in more detail.

For now, you can work around it by combining the two clauses into a single check (which will also be faster as each file's contents will only need to be looked at once):


[Update: This was fixed in Opus]

Thanks Leo!