accept dashes in %tags, #ids and .classes