The multigsub function admittedly doesn't enable simultaneous global string substitutions which can have some unintended effects while using it. The R package mgsub implements a simultaneous string substitution which is slower than the sequential used in qdap. This pull request adds a simultaneous flag to multigsub to enable this type of substitution. The vignette was updated as well to reflect the change. I couldn't find any tests for this function so I didn't update those (or write any)
The multigsub function admittedly doesn't enable simultaneous global string substitutions which can have some unintended effects while using it. The R package mgsub implements a simultaneous string substitution which is slower than the sequential used in qdap. This pull request adds a
simultaneous
flag to multigsub to enable this type of substitution. The vignette was updated as well to reflect the change. I couldn't find any tests for this function so I didn't update those (or write any)