fork(1) download
  1. s <- "This is starting to get really, really annoying!!"
  2. res <- regmatches(s, gregexpr("[\\w']+|[.,;:?!]", s, perl=TRUE))
  3. res
Success #stdin #stdout 0.2s 178496KB
stdin
Standard input is empty
stdout
[[1]]
 [1] "This"     "is"       "starting" "to"       "get"      "really"  
 [7] ","        "really"   "annoying" "!"        "!"