3 ms·
I tried to get ChatGPT to write a regex matching some samples, but it can only capture a simple pattern, it couldn't write a regex with multiple alternatives to
by johanvts 4y ago
I tried to get ChatGPT to write a regex matching some samples, but it can only capture a simple pattern, it couldn't write a regex with multiple alternatives to cover all the samples. Has anyone been successful in this? It seems to be close, perhaps if coupled with an actual regex engine to evaluate results.