Handle custom colored strings correctly

Currently strlen ignores any color code that makes use of ';', this
includes light colors as well as 256 color codes. This adjusts the regex
to detect these other color types.