re2c

Install command:
brew install re2c

Generate C-based recognizers from regular expressions

https://re2c.org/

License: LicenseRef-Homebrew-public-domain

Development: Pull requests

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

Formula code: re2c.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable ✅ 4.6

Uses from macOS: python (build)

Binaries: re2c, re2d, re2go, re2hs, re2js, re2ocaml, re2py, re2rust, re2swift, re2v, re2zig

GitHub Packages downloads:

Last 30 days29,484
Downloads895,751
Analytics install events (30 days)2,271
Downloads / install events (30 days)13.0×

Source: GitHub Packages, fetched 2026-11-18T01:02:27Z. Analytics dates: 2026-10-19 to 2026-11-18. 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
Installs2,2694,27517,017
Installs (--HEAD)2517
Installs on Request1,8143,41613,812
Installs on Request (--HEAD)2517
Build Errors39