fork download
  1. text=c("I will add [USER=1234]@banana1[/USER] to the chat"
  2. gsub("\\[user.*?/user]","usermention",text, ignore.case=TRUE)
  3. ## => [1] "I will add usermention to the chat"
Success #stdin #stdout #stderr 0.24s 39180KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Error: unexpected symbol in:
"text=c("I will add [USER=1234]@banana1[/USER] to the chat"
gsub"
Execution halted