fork download
  1. aQuote = "The big boat has a big assortment of big things."
  2. theMatches = regmatches(aQuote, gregexpr("big ([a-z]+)", aQuote ,ignore.case = TRUE))
  3.  
  4. results = lapply(theMatches, function(m){
  5. len= length(m)
  6. for (i in 1:len)
  7. {
  8. print(m[[i]])
  9. }
  10. })# your code goes here
Success #stdin #stdout #stderr 0.46s 79168KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Error: unexpected ':' in "theMatches = regmatches(aQuote, gregexpr((?:"
Execution halted