A simple regex matching tool