treat special characters like whitespace for matching