text_replace_locates default
text_replace_locates default
text_replace_locates(string, found, replacement, group, invert)# S3 method for default
text_replace_locates(string, found, replacement, group, invert)
text for which to replace parts
result of an call to text_locate_group or text_locate - i.e. a list of data.frames with two columns named 'start' and 'end' that mark character spans to be replaced within the text elements
character vector of replacements of length 1 or length(group) to replace regex group matches (marked character spans provided by the found parameter)
vector of integers identifying thos regex groups to be replaced
should character spans provided by found or their counterparts be replaced