Helper function used to identify which results from gregexpr overlap other matches and filter out shorter, overlapped results
Helper function used to identify which results from gregexpr overlap other matches and filter out shorter, overlapped results