Hacker News new | past | comments | ask | show | jobs | submit login

I think building regexes is a good example of where chatgpt/copilot is useful. It’s not that it’s particularly difficult or requires much understanding, just very time consuming compared to writing an English language description and walking through an example.



Useful compared to writing a regex in notepad yeah.

Last time I was challenged by regex I easily found very fancy web page with so many nice features. Actual documentation, ability to select a specific regex engine (or implementation or whatever you call it) , real-time results on test data, highlighting that shows how the regex works, etc. and that was years ago I’m sure there’s even better web apps now.

I can’t imagine having a better experience asking AI chat than using a web app made for the purpose


Do you have a link to the site?

Being able give some examples and just state in plain English what you want the capture groups to be is pretty much my ideal regex experience (in other words, I don’t want to think about the semantics of regex ever).


This might be what they're referring to: https://regex101.com/.


That’s what I figured. Maybe it’s just me but for complicated use-cases this still takes me forever to get the right regex string, especially with capture groups.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: