PistonChat icon indicating copy to clipboard operation
PistonChat copied to clipboard

Regex Support for PistonFilter

Open lokspel opened this issue 7 months ago • 1 comments

This should be added. You can replace all of this with a single regex.

banned-text:
  - "http"
  - "https"
  - "://"
  - ".org"
  - ".com"
  - ".net"
  - ".org"
  - ".co"
  - ".cc"
  - ".tk"
  - ".ga"
  - ".gg"
  - ".io" 

lokspel avatar May 12 '25 14:05 lokspel

While true, some players add weird spacing/filler chars to bypass the regex. This is a little more strict by saying any part of it triggers it. It'd be very long with a regex. However I do know some people would like regex support, so I'll look into it.

AlexProgrammerDE avatar May 12 '25 15:05 AlexProgrammerDE