Uniformly use backslash before - in regexp