you are viewing a single comment's thread
view the rest of the comments
[–] 13 points 3 months ago (8 children)

lol, what did this person do to receive such hate? 😂

^ghosttree([0-9]+)?$

  • source
  • hideshow 8 child comments
  • [–] 6 points 3 months ago (2 children)

    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?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 3 months ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 3 months ago* (3 children)

    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.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 3 months ago (2 children)

    Fucking up regex is a sacred tradition!

  • source
  • parent
  • hideshow 2 child comments