Regular expressions test case.