It only accepts letters and numbers because that's what your regexp contains. You have to put the remaining allowed characters in the selector as well.