you are viewing a single comment's thread
view the rest of the comments
[–] 17 points 1 year ago (10 children)

With grep it’s me who hallucinates that I can right good regex :,)

  • source
  • parent
  • hideshow 10 child comments
  • [–] 11 points 1 year ago (9 children)

    (I don't mean to take aim at you with this despite how irked it'll sound)

    I really fucking hate how many computer types go "ugh I can't" at regex. the full spectrum of it, sure, gets hairy. but so many people could be well served by decently learning grouping/backrefs/greedy match/char-classes (which is a lot of what most people seem to reach for[0])

    that said, pomsky is an interesting thing that might in fact help a lot of people go from "I want $x" as a human expression of intent, to "I have $y" as a regex expression

    [0] - yeah okay sometimes you also actually need a parser. that's a whole other conversation. I'm talking about "quickly hacking shit up in a text editor buffer in 30s" type cases here

  • source
  • parent
  • hideshow 9 child comments
  • [–] 8 points 1 year ago* (5 children)

    Hey. I can do regex. It's specifically grep I have beef with. I never know off the top of my head how to invoke it. Is it -e? -r? -i? man grep? More like, man, get grep the hell outta here!

  • source
  • parent
  • hideshow 5 child comments
  • [–] 5 points 1 year ago (2 children)
  • [–] 4 points 1 year ago (1 child)

    If I start using this and add grep functionality to my day-to-day life, I can’t complain about not knowing how to invoke grep in good conscience, dawg. I can’t hold my shitposting back like that, dawg!

    jk that looks useful. Thanks!

  • source
  • parent
  • hideshow 1 child comment
  • [–] 6 points 1 year ago (2 children)

    The funny thing is, I’m just going with the joke, I’m actually pretty good with regex lol

  • source
  • parent
  • hideshow 2 child comments