Pass regex to addClass function.