I think you need to escape the hyphens here too? The parser might be smart enough to figure it out, but things like `a-z` have special meaning in regex.