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.3
Imports: Rcpp (≥
LinkingTo: Rcpp
Suggests: knitr, rmarkdown
Published: 2023-11-29
DOI: 10.32614/CRAN.package.re2
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.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): re2_0.1.3.tgz, r-oldrel (arm64): re2_0.1.3.tgz, r-release (x86_64): re2_0.1.3.tgz, r-oldrel (x86_64): re2_0.1.3.tgz
Old sources: re2 archive

Reverse dependencies:

Reverse imports: corporaexplorer
Reverse suggests: atime, nc


Please use the canonical form to link to this page.