CC-9 Wrong constant and checking for matches in regular expressions