Added options for match case, links only, and some code for highlight.