Added master regexp test case.