powered by
refindall(s, pat, over = 1, ignorecase = FALSE)
pat
s
The syntax for pattern matching has to be PERL-like.
regexp
refindall("ababababa", 'aba') gregexpr('a(?=ba)', "ababababa", perl=TRUE) refindall("AbababaBa", 'aba') refindall("AbababaBa", 'aba', ignorecase = TRUE)
Run the code above in your browser using DataLab