all 30 comments

sorted by: hot top controversial new old
[–] 22 points 4 months ago (8 children)

I'd learn regex, but it looks like what non-programmers think code looks like.

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

    To make things even more fun, regex differs in subtly different ways, the regex that works in perl might not work in sed. There are two main dialects, BRE and ERE, and lots of tool specific additions. So I find myself wondering if grep is using extended regular expressions, or is that in egrep, or is egrep the standard grep nowadays? One time I saw Russ Cox use Acme, and I saw the real power of regex when used by someone intuitively. But I am no Russ Cox.

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

    I'm quite a fan of Regex Crossword (for both learning and practicing). As the name implies, crosswords but with regex! Quite fun, at least for me.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 26 points 4 months ago* (1 child)
  • [–] [S] 23 points 4 months ago

    this is actually the more common usage of this memetic form for a few years now, kind of for subversion and ironic effect. im with you, in other words. im making fun of the person in the last panel. :P

  • source
  • parent
  • [–] 12 points 4 months ago* (3 children)

    I hate that browser search had no native regex, and all the regex find extensions* are trash.

    * what's available on amo, Im not using chromium based browser.

  • source
  • hideshow 3 child comments
  • [–] 5 points 4 months ago (1 child)

    Omg yes. I absolutely hate the lack of regex search in browsers. There are so many times it would be useful. Mostly around either numbers or conjugations of verbs. But regex is so powerful, let me turn on a secret browser flag to enable it if I have to.

    What's amo though? A Firefox-based browser? Or its own whole thing?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 11 points 4 months ago (1 child)

    I hate the fact that regex doesn't work in browser page search. Even if it was super buried, there are so many times it would have been useful to have. It's a major pet peeve of mine.

    Another is when webpages de-load text once you scroll past it. You have infinite scroll, I want to use that to load up a whole chunk of history and do a ctrl-f (bonus points if my ctrl-f could have been regex). It's not my fault your site's shitty search is worse than a ctrl-f. You don't have to make it even shittier by preventing me from using it.

  • source
  • hideshow 1 child comment
  • [–] 10 points 4 months ago (2 children)
  • [–] [S] 9 points 4 months ago
    [–] 7 points 4 months ago

    Regex search is such a life changer.

  • source
  • [–] 6 points 4 months ago (1 child)

    i just copy someone else's regex and try to change it into something that worms

  • source
  • hideshow 1 child comment
  • [–] 2 points 4 months ago

    .... regex can be useful..

  • source
  • [–] 2 points 4 months ago

    email the company whose devs intercept ctrl+f and replace it with a useless dud functionality, complain about it (but they have a captive market so no point)

  • source
  • [–] 3 points 4 months ago (1 child)

    "You use AI because you think it's the future; I use it because I can't learn regex to save my life. We are not the same"

  • source
  • hideshow 1 child comment
  • [–] 1 point 4 months ago

    you can learn regex in a night by just reading the Python docs

  • source
  • [–] 1 point 4 months ago

    Honestly, there have been cases where I got AI to write some regex for me because I was on a crunch and didn't wanna spend forever figuring it out. Also I was using Kate and they make it especially weird for regex

  • source