You are correct, sir. I had thought it was
use POSIX that caused it to bark at me when I didn't have the doubled brackets (
POSIX syntax [: :] belongs inside character classes in regex), but it seems that it will bark without it. In either case, it only barks for positive char classes like
[:digit:], not for negated ones like
[:^digit:].
Caution: Contents may have been coded under pressure.