Apologies. I somehow missed the message coming in for this question. Maybe you’ve already done these things…
If you make the filters more like regex matches, that could be good, but you would definitely want to explain that on the settings page or maybe have a checkbox that allows the user to “match only the exact filter word (“ver”) and not any instance of a match (every, version, veritable, etc.) so they would at least know what they are adding. Most normal people aren’t going to know much about regular expressions so maybe adding an option which allows them to add custom regex of their own might be too much. I do see in some places though a dropdown with options like you describe:
<select name="match2" style="width:250px;" autocomplete="off" autofill="off">
<option value="contains" selected="">contains</option>
<option value="matches">matches regex</option>
<option value="does not contain">does not contain</option>
<option value="is" disabled="">equals</option>
<option value="begins" disabled="">begins with</option>
<option value="ends" disabled="">ends with</option>
<option value="does not begin" disabled="">does not begin</option>
<option value="does not end" disabled="">does not end with</option>
<option value="does not match">does not match</option>
</select>
Something like that could help, assuming it was allowed to be set *per term* and not globally for ALL terms at once.
2 issues I ran into today are
- Trying to figure out why a message was filtered out by the plugin when it matched none of the “Spam Words” terms or filters
- The message in the filter that is for a collection field (like checkboxes or a multi-select) does not display these values on the ‘view message’ screen. In this case, an apparel company is selling products that you check from a list (t-shirt, hat, bag, etc.) and the values are stored in the JSON you save as the selections
"apparel-type":["Hats,"T-Shirts"]
but when you view the blocked message, it only says “Array” instead of the actual values. And most of the time as you note in your popup, you can’t resubmit a blocked message if you using a recaptcha, so maybe just popping up a mailto: email with the content would be a good alternative. Cut & Paste works too though… so maybe that isn’t needed.
As always, thanks for your good work. I hope my feedback is useful.