escape the - in the regexp character set