I noticed at work that the mgsub implementation in qdap doesn't do it's operations in a way that support transposition, word shifting or protection against regex substring matching. I've captured and documented examples on my blog. http://thug-r.life/post/2018-01-26-mgsub-launched/
I forked qdap, added mgsub as a dependency and modifed the multigsub function to use mgsub::mgsub. I tested the functionality of the new mgsub and it works in all cases now.
I noticed at work that the
mgsub
implementation inqdap
doesn't do it's operations in a way that support transposition, word shifting or protection against regex substring matching. I've captured and documented examples on my blog. http://thug-r.life/post/2018-01-26-mgsub-launched/I forked qdap, added mgsub as a dependency and modifed the multigsub function to use mgsub::mgsub. I tested the functionality of the new mgsub and it works in all cases now.