• zalgotext
    link
    fedilink
    arrow-up
    5
    ·
    5 months ago

    Man, regex is really not the tool for the job here is it?

    • djsoren19@yiffit.net
      link
      fedilink
      arrow-up
      3
      ·
      5 months ago

      What? it looks fine to me, outside of the general difficulty of reading regex. I mean, it’s not meant to be readable, it’s meant to catch all the different spellings if what they want to filter and do so.

      • zalgotext
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        outside of the general difficulty of reading regex

        That’s sorta my point, the complexity of regex isn’t really warranted where a simple blocklist would suffice