Abstract
Regular expressions are powerful tools for manipulating non-tabular textual data. For many tasks (visualization, machine learning, etc), tables of numbers must be extracted from such data before processing by other R functions. We present the R package namedCapture, which facilitates such tasks by providing a new user-friendly syntax for defining regular expressions in R code. We begin by describing the history of regular expressions and their usage in R. We then describe the new features of the namedCapture package, and provide detailed comparisons with related R packages (rex, stringr, stringi, tidyr, rematch2, re2r).
Cite
CITATION STYLE
Hocking, T. D. (2019). Comparing namedCapture with other R packages for regular expressions. R Journal, 11(2), 328–346. https://doi.org/10.32614/rj-2019-050
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.