fork download
  1. text <- "Text1==text2<text3><More here"
  2. regmatches(text, gregexpr("==|[<>]|(?:(?!==)[^<>])+", text, perl=TRUE))
Success #stdin #stdout 0.23s 60768KB
stdin
Standard input is empty
stdout
[[1]]
[1] "Text1"     "=="        "text2"     "<"         "text3"     ">"        
[7] "<"         "More here"