correcting regex in error detection of malformed color commands, as some of the demos stopped working