Filter overlaps from matches
Helper function used to identify which results from gregexpr overlap other matches and filter out shorter, overlapped results
filter_overlap(x)
x |
Matrix of gregexpr results, 4 columns, index of column matched, start of match, length of match, end of match. Produced exclusively from a worker function in mgsub |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.