"a*$ case fixed. Resetting error message on successful match.