LLMs and regular expressions

from blog John D. Cook, | ↗ original
Yesterday I needed to write a regular expression as part of a client report. Later I was curious whether an LLM could have generated an equivalent expression. When I started writing the prompt, I realized it wasn’t trivial to tell the LLM what I wanted. I needed some way to describe the pattern that the […] The post LLMs and regular expressions...