Page 1 of 1
Filter expression processing order
Posted:
Wed Feb 28, 2018 7:08 pm
by malhusky
Is there a way to set the regular expression processing order in a filter? I'd like to have both Accept and Reject expressions, but in some cases both could be true so I'd like one to have priority over the other. I suppose I could combine the expressions but that would be more complicated and not as clear or easy to modify.
Re: Filter expression processing order
Posted:
Thu Mar 01, 2018 10:13 am
by Quade
Currently it process reject first and then accept filters. So if any reject filters reject, the whole thing is tossed out.
The accept and reject filter entries are "OR"ed together into a single RE. So, you end up with one reject RE and then one accept RE which is applied to the subject or poster in sequence.
Re: Filter expression processing order
Posted:
Thu Mar 01, 2018 6:58 pm
by malhusky
That's exactly the way I would hope it worked. But I noticed that the filter seems to put the Accept expressions first and the Reject's last. Is that just for display purposes?
Re: Filter expression processing order
Posted:
Thu Mar 01, 2018 8:47 pm
by Quade
The order in the actual listing doesn't matter.