trinker/qdapRegex

Make rm_xxx fully dependent on stringi

bedantaguru opened this issue · 2 comments

I can see from the source code that ex_xxx are dependent on stringi while rm_xxx is still dependent on base gsub. Can we not change these to stringi? Let me know if I can assist anyway.

Can we not opt for an option which let the user choose between gsub or stringi ?

BTW, I think stringi is faster now, check following references :

https://stackoverflow.com/questions/29646744/different-output-using-stringi-and-gsub-using-the-same-pattern-on-the-same-stri

https://rstudio-pubs-static.s3.amazonaws.com/45999_4b4a72d1450b4ca9a94385bda47d96fe.html