c011502ee3
### What changes were proposed in this pull request? For regex functions in base R (`gsub`, `grep`, `grepl`, `strsplit`, `gregexpr`), supplying the `fixed=TRUE` option will be more performant. ### Why are the changes needed? This is a minor fix for performance ### Does this PR introduce any user-facing change? No (although some internal code was applying fixed-as-regex in some cases that could technically have been over-broad and caught unintended patterns) ### How was this patch tested? Not Closes #28367 from MichaelChirico/r-regex-fixed. Authored-by: Michael Chirico <michael.chirico@grabtaxi.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org> |
||
---|---|---|
.. | ||
inst | ||
R | ||
src-native | ||
tests | ||
vignettes | ||
.lintr | ||
.Rbuildignore | ||
DESCRIPTION | ||
NAMESPACE |