Add support for more special characters in legacy partial names