Skip to content

re2

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

v0.1.4 · Jan 19, 2025 · MIT + file LICENSE

Description

Pattern matching, extraction, replacement and other string processing operations using Google's RE2 <https://github.com/google/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.

Downloads

CRAN

376

Last 30 days

10637th

1K

Last 90 days

7.9K

Last year

Trend: +3.3% (30d vs prior 30d)

r2u CRAN

106

Last 30 days

263

Last 90 days

574

Last year

Trend: -15.2% (30d vs prior 30d)

autoCRAN

2

Last 7 days

8

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  9.2Mb
  sub-directories of 1Mb or more:
    libs   8.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  9.2Mb
  sub-directories of 1Mb or more:
    libs   8.9Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/re2.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  9.2Mb
  sub-directories of 1Mb or more:
    libs   8.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  9.2Mb
  sub-directories of 1Mb or more:
    libs   8.9Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  9.2Mb
  sub-directories of 1Mb or more:
    libs   8.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  9.2Mb
  sub-directories of 1Mb or more:
    libs   8.9Mb

Reverse Dependencies (3)

imports

suggests

Dependency Network

Dependencies Reverse dependencies Rcpp corporaexplorer atime nc re2

Version History

6 tracked
new 0.1.4 Mar 10, 2026
updated 0.1.4 ← 0.1.3 diff Jan 18, 2025
updated 0.1.3 ← 0.1.2 diff Nov 28, 2023
updated 0.1.2 ← 0.1.1 diff Mar 28, 2022
updated 0.1.1 ← 0.1.0 diff May 12, 2021
new 0.1.0 May 2, 2021