Corrected a bug when with regular expressions containing a '-' in EXPRESSION tags