Can Smart Rules match a complete word?

Hi, I want to apply smart rules whenever a file has the name containing the word “fruit”. My approach is setting the rule requiring name to contain “fruit” string. However, this smart rule seems to also apply to any file name with “fruitful”.

I’m wondering if DEVONthink smart rules could have an option to only filter with a complete word?

The matches condition looks for complete words by default, therefore Name matches Fruit should work.

1 Like

Would it be possible to have a smart rule that counted the incidences of a target word in each document and then outputted in some way the total number per document?

A script could do that, and that could be executed by the smart rule.