ansi-codes: slight regex change

\033];3m is considered invalid
so we fix the regex and add a test for it

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>