re2

Install command:
brew install re2

Alternative to backtracking PCRE-style regular expression engines

https://github.com/google/re2

License: BSD-3-Clause

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

Formula code: re2.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 20250812
head ⚡️ HEAD

Depends on:

abseil 20250512.1 C++ Common Libraries

Depends on when building from source:

cmake 4.1.0 Cross-platform make

Analytics:

Installs (30 days)
re2 18,579
re2 --HEAD 4
Installs on Request (30 days)
re2 2,034
re2 --HEAD 4
Build Errors (30 days)
re2 12
Installs (90 days)
re2 37,832
re2 --HEAD 8
Installs on Request (90 days)
re2 3,827
re2 --HEAD 8
Installs (365 days)
re2 115,282
re2 --HEAD 15
Installs on Request (365 days)
re2 11,832
re2 --HEAD 15