fork(2) download
  1. test <- 'abcdef abc<span abc>defabc abcdef</span> abc defabc'
  2. gsub('\\babc(?![^<]*>)', 'xxx', test, perl=TRUE)
Success #stdin #stdout 0.19s 175424KB
stdin
Standard input is empty
stdout
[1] "xxxdef xxx<span abc>defabc xxxdef</span> xxx defabc"