Implement regular expression tester.