Strip the residue of a pasted list from a single token — surrounding brackets,
braces, and quotes.
Deliberately conservative: it removes only enclosing punctuation, which is a
paste artifact rather than a typo. It will not rescue a genuinely misspelled
column name, and it is not a substitute for validateLeakageGuard —
anything it fails to clean still gets rejected loudly rather than silently
accepted.
Strip the residue of a pasted list from a single token — surrounding brackets, braces, and quotes.
Deliberately conservative: it removes only enclosing punctuation, which is a paste artifact rather than a typo. It will not rescue a genuinely misspelled column name, and it is not a substitute for validateLeakageGuard — anything it fails to clean still gets rejected loudly rather than silently accepted.