Adding in a preg_match function (matches) so that we can do fuzzy matching for active highlighting of URLs