Page MenuHomePhabricator

Regex AbuseFilter problem
Closed, InvalidPublic


Hello, I report an issue I'm having with AbuseFilter that is causing false positives.

I'm using a regex pattern that matches only special characters ([^a-zA-Z0-9_\s]). I use this expression many times followed by another expression so that it matches the expression with the special characters.

The problem is that this expression is matching things that shouldn't match and I don't understand why. I use regex testers and the results are negative but it is positive to AbuseFilter.

Event Timeline

Nevermind. The extension is working correctly.

I have been debugging the specific filter with @SRuizR and it wasn't a problem in the regex engine.