re2: R Interface to Google RE2 (C++) Regular Expression Library

Pattern matching, extraction, replacement and other string processing operations using Google's RE2 <> regular-expression engine. Consistent interface (similar to 'stringr'). RE2 uses finite-automata based techniques, and offers a fast and safe alternative to backtracking regular-expression engines like those used in 'stringr', 'stringi' and other PCRE implementations.

Version: 0.1.1
Imports: Rcpp (≥ 1.0.6)
LinkingTo: Rcpp
Suggests: knitr, rmarkdown
Published: 2021-05-12
Author: Girish Palya [aut, cre], RE2 developers [ctb] (RE2 library), Google Inc. [ctb, cph] (RE2 library)
Maintainer: Girish Palya <girishji at>
License: MIT + file LICENSE
NeedsCompilation: yes
CRAN checks: re2 results


Reference manual: re2.pdf
Vignettes: Introduction to re2
RE2 Regular Expression Syntax
Package source: re2_0.1.1.tar.gz
Windows binaries: r-devel:, r-devel-UCRT:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): re2_0.1.1.tgz, r-release (x86_64): re2_0.1.1.tgz, r-oldrel: re2_0.1.1.tgz
Old sources: re2 archive


Please use the canonical form to link to this page.