On Mon, 15 Feb 2021 23:58:17 -0500 Jared Hall wrote:
> > The CHAOS module *may* do what you want. ... It also has > detection for multiple Unicode Character Sets. That's not a bad idea, but if anyone is interested I'd suggest copying the character matching regexes into ordinary rules. Or better still into template tags, so that they can be reused in multiple rules. I don't think there's much, if anything, in that module that benefits from being in perl. Also the "adaptive scoring" seems like a bad idea to me. The scores are hard-coded fractions of one of the three thresholds. The choice of which threshold is used is also hard-coded per rule. The only sense in which it's adaptive is that it opposes an admin adjusting how aggressive the filtering should be.