On Sat, Jan 22, 2022, at 6:10 PM, L A Walsh wrote: > So I would ask which user-controlled prompts are "illegal" such that > they would be sanitized?
I guess you're concerned with "(along with other user-controlled substitutions in the prompt)". I'm not entirely sure what the OP meant by that, and I don't think anyone else is talking about anything but the results of \w and \W and such. -- vq