251

I have to use a ton of regex in my new job (plz save me), and I use ChatGPT for all of it. My job would be 10x harder if it wasn't for ChatGPT. It provides extremely detailed examples and warns you of situations where the regex may not perform as expected. Seriously, try it out.

you are viewing a single comment's thread
view the rest of the comments
[-] sim642@lemm.ee 24 points 1 year ago

If you think regex is the hard part of programming, then you're in for a bad time.

[-] BenLloydPearson@programming.dev 5 points 1 year ago

I often need to deal with half a dozen different programming languages in any day/week and the context switching can be difficult at times. When you've spent all day switching between JavaScript, Python, and YAML and suddenly need to draft some Regex, tools like ChatGPT can help immensely at reducing the mental burden of switching gears.

[-] sim642@lemm.ee 15 points 1 year ago

The syntax of regular regexes is the same across languages though. It's just the regex library which is different, but so is every other library between languages.

load more comments (1 replies)
this post was submitted on 09 Jul 2023
251 points (100.0% liked)

Programming

17424 readers
57 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS