re2
$ re2 Community Low Riskre2 (re2) — Alternative to backtracking PCRE-style regular expression engines. Verified across Homebrew Core; included for structured shell automation under FCRS-1.0 baseline review.
brew install re2 Pure CLI utility (re2); directly invoked in shell workflows without an equivalent MCP server layer.
At a Glance
- Command
- $ re2
- FCRS-1.0 Score
- 68/100 (Usable w/ Caveats)
- Evidence Tier
- Low Confidence
- CLI vs MCP
- CLI Only
- Reviewed Date
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Registry-verified CLI binary (re2); inspect --help output before assuming structured JSON flags.
- Indexed in Homebrew Core
Classified as low risk based on files-search scope and upstream package metadata.
- Install channel verified via
brew install re2 - Declared license: BSD-3-Clause
Installable via brew install re2 across macos, linux.
- Primary install:
brew install re2
Alternative to backtracking PCRE-style regular expression engines
- Official homepage/source: https://github.com/google/re2
community lineage tool maintained by google.
- Upstream repository: google/re2
Upstream documentation linked at https://github.com/google/re2; baseline FCRS cap applies until local probe runs.
- https://github.com/google/re2
Security, Auth & Guardrails
Local execution tool; typically requires no external credentials unless targeting remote endpoints.
Open-source / free local execution; zero API token or SaaS billing overhead from the binary itself.
When invoking `re2`, verify flags with `re2 --help` first, close stdin to avoid interactive prompts, and require confirmation before remote or destructive mutations.
Agent-Ready Command Recipes
Safe Read-Only Queries
re2 --help
Discover supported flags and subcommands for re2 before constructing automated calls.
re2 --version
Confirm re2 is installed and executable in PATH with zero side effects.
Strengths for Agents
- + Indexed in Homebrew Core with reproducible install via
brew install re2 - + Standalone CLI binary (
re2) directly composable in shell pipelines
Caveats & Pitfalls
- ! Low-confidence baseline review: not yet locally probed on this host; run
re2 --helpto verify flags before scripting
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Files & Search
View category hub →Fast single-producer, single-consumer lock-free queue for C++
Blazing-fast read-only codebase search with `--json` NDJSON streaming and automatic `.gitignore` respect.