Correction in regular expression of users model