[Users] using regular expressions in switch case