add support for dotall match