function to get start, end, length form pattern match for all matches
text_locate_all default
text_locate_all(string, pattern, vectorize = FALSE, simplify = FALSE, ...)# S3 method for default
text_locate_all(string, pattern, vectorize = FALSE, simplify = FALSE, ...)
text to search through
regex to search for
should function be used in vectorized mode, i.e. should a pattern with length larger than 1 be allowed and if so, should it be matched to lines (with recycling if needed) instead of using on element on all lines
either getting back a list of results or all list elements merged into a data.frame with columns identifying original line (i) and pattern (p) number
further arguments passed through to grep