• mikelykzit@lemmy.ml
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    OMG. Using it for RegEx searches! How had that not even crossed my mind?

    I’ve tried learning RegEx basics and using some websites to point me in the right direction when a specific use comes up, but tuning the search string correctly usually takes longer than it’s been worth. Off to ChatGPT it is!

    • pressanykeynow@iusearchlinux.fyi
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I’d use it with caution as there are no small mistakes in regex - any can lead to big problems, and ChatGPT does often give wrong or not entirely correct answers.

    • Aniki 🌱🌿@lemm.ee
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      1 year ago

      You need to know regex to use it with chatgpt as it’s generally wrong on the first go. I use regex 101 to verify before I run it on anything.

      Take the udemy course on regex if you’re having trouble getting it. It’s fantastic and you’ll go from 20 to a 100 real fast.