• kkj@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      4 hours ago

      On top of that, [0-9]+ matches one or more digits and ()? matches the contained token zero or one times, so the whole thing combines to zero or more digits, which is just [0-9]*. They’re even bad at regex.

    • Hoimo@ani.social
      link
      fedilink
      arrow-up
      5
      ·
      14 hours ago

      It’s a general approach to names with numbers at the end, the list is full of those. I’m almost more interested in the more specific patterns like name(69)+, because was there an alt name6969 he wanted to block but an unrelated name67 he wanted to avoid?

      • SeductiveTortoise@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        14 hours ago

        I know, and I suspect the name came up more than once. But if I implemented some kind of algorithm to add people to the list based on posting behaviour, I wouldn’t put in the effort to have it implement a regex for “this guy and whatever number they added”.

        To me this looks like he wrote the list by hand. Which is even weirder.