All 4,799 reports

NoChatGPT · 5 Apr 2023

It was adamant that I could do {{ value | regex_search(regex).group(1) }}

mberning on Hacker News

In the thread “GPT4 simulating a FTP server at ftp.disney.com”

Helped: Getting direct answers to questions was initially nice.

Got in the way: It hallucinated non-existent syntax for regex_search filters.

… The worst one I can remember is I asked it how to extract a specific capture group when using the regex_search filter. It was adamant that I could do {{ value | regex_search(regex).group(1) }}. I was totally fooled and tinkered with this for an hour before realizing no such facility exists and it will never work.