• /home/pineapplelover@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 hours 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

  • Zagorath@quokk.au
    link
    fedilink
    English
    arrow-up
    9
    ·
    13 hours ago

    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.

  • plutopos@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    12 hours ago

    “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”

  • raman_klogius@ani.social
    link
    fedilink
    English
    arrow-up
    11
    ·
    15 hours ago

    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.

    • Zagorath@quokk.au
      link
      fedilink
      English
      arrow-up
      3
      ·
      13 hours ago

      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?

    • pmk@piefed.ca
      link
      fedilink
      English
      arrow-up
      11
      ·
      14 hours ago

      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.

      • Randelung@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        10 hours ago

        And then you might have to escape every escape character because it needs to go into a string first, making everything even more complex.

    • DaGeek247@fedia.io
      link
      fedilink
      arrow-up
      5
      ·
      17 hours ago

      I’d learn regex, but it looks like the kind of tool that programmers would shove into every single search function hole and expect everyone to know it even though it makes no sense for it to be there.

      • da_cow (she/her)@feddit.org
        link
        fedilink
        English
        arrow-up
        4
        ·
        17 hours ago

        You can do surprisingly mich with just regex, but often enough there are better tools for a certain task. However if you want to do anything with bash, you will See Quite a lot of regex.

    • spujb@lemmy.cafeOP
      link
      fedilink
      English
      arrow-up
      23
      ·
      18 hours 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

  • Zweieck@feddit.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    12 hours ago

    I am literally doing step 3 at my work today. By now I somewhat understand the structure, but there is no time to really learn it myself

    • spujb@lemmy.cafeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 hours ago

      My thesis has always been that AI should serve human labor, not replace it. Regex is a perfect example of that I think, because no one was ever hiring “regex technicians” we were just slogging through it ourself.

      But instead we have genAI taking artists’ and writers’ jobs while the wealth gap keeps growing… models and actors swapped with community-destroying data centers churning slopvertisements.

      Yeah, I will always be a proud Luddite.

  • Another Catgirl@lemmy.blahaj.zone
    cake
    link
    fedilink
    English
    arrow-up
    2
    ·
    12 hours 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)