fixed error in regexp and changed lint