• GreenKnight23@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    10 hours ago

    I used a local model today to write a long form regex for me today. it would have taken me 30 minutes. instead it took 3 seconds and worked out of the box.

    I think this is a perfect example of what LLMs should be used for.

      • GreenKnight23@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        8 hours ago

        absolutely. I know regex, better than most devs I know personally.

        I also don’t use it all the time. I happened to have it up and just said, “hey fucker, give me the pcre regex to find all instances of these keywords in a string like this”

        reviewed it, threw what I had into my code, ran my tests and everything was golden.