Nothing
FSA_locate_regex <- function(string, pattern, ignore.case = FALSE, perl = FALSE,
fixed = FALSE, useBytes = FALSE) {
##
FSAgreg <- gregexpr(pattern, string, ignore.case, perl, fixed, useBytes)[[1]]
if (FSAgreg[1] > 0) {
FSAgreg_lengthchar <- attributes(FSAgreg)$match.length
#
loc_mat <- do.call(rbind, lapply(1:length(FSAgreg_lengthchar), function(i) {
c(FSAgreg[i], (FSAgreg[i] + FSAgreg_lengthchar[i] - 1))
}))
} else {
loc_mat <- NULL
}
#
return(loc_mat)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.