re2

Install command:
brew install re2

Alternative to backtracking PCRE-style regular expression engines

https://github.com/google/re2

License: BSD-3-Clause

Development: Pull requests

Formula JSON API: /api/formula/re2.json

Formula code: re2.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2025-11-05
head ⚡️ HEAD

Revision: 2

Depends on:

abseil 20260817.0 C++ Common Libraries

Depends on when building from source:

cmake 4.4.5 Cross-platform make

GitHub Packages downloads:

Last 30 days98,269
Downloads5,412,973
Analytics install events (30 days)5,567
Downloads / install events (30 days)17.7×

Source: GitHub Packages, fetched 2026-11-12T00:52:58Z. Analytics dates: 2026-10-13 to 2026-11-12. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs5,56717,09288,982
Installs (--HEAD)0318
Installs on Request1639124,683
Installs on Request (--HEAD)0311
Build Errors9