I have a string of the following form:
text <- "\\\\usage{afunction(arg = list())anotherfunction()}\\\\somethingelse{}"
I would