Regex Not Operator

by jtojnar, Thursday, August 08, 2019, 10:07 (1729 days ago) @ iiimriii
edited by jtojnar, Thursday, August 08, 2019, 13:07

Currently only PCRE-style regex is supported, which does not support negating the expression. You can try to use negative lookahead like /^(?!.*(good)).*$/ but that will match posts that lack “good” in either the body or the title, so unless it is in both, it will not be filtered out.

This is one of my biggest gripes I have with selfoss. We have an issue tracking more advanced filtering.


Complete thread:

 RSS Feed of thread

powered by my little forum