add Pettern.DOTALL demo test cases.