fix ansi colors and use them in syntaxcheck

how can the ansi color ranges sub have worked if the
replacement operator infinilooped due to having only
questionmark-quantified things inside a []+?

anyway. apparently works now! :)