A simple text-matcher developed using TDD