Password checking by regexpr.