fix for more advanced selectors
regex to check for single class/id selector