Fixed regex time bug