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.5.1 Cross-platform make

GitHub Packages downloads:

Last 30 days111,768
Downloads5,496,197
Analytics install events (30 days)5,242
Downloads / install events (30 days)21.3×

Source: GitHub Packages, fetched 2026-12-03T00:59:01Z. Analytics dates: 2026-11-03 to 2026-12-03. 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,23513,41485,445
Installs (--HEAD)7722
Installs on Request1314514,426
Installs on Request (--HEAD)008
Build Errors0