You specified a regular expression containing a character class [:class :] that is not supported in the POSIX locale.
Rewrite the regular expression.