add regExpr method and message