{"adoption": {"forks": 162, "observed_at": "2026-08-28T04:04:08.845752+00:00", "stars": 1255}, "canonical_url": "https://ross.abutalabs.com/products/re2j", "card": {"archived": false, "artifact_type": "library", "description": "linear time regular expression matching in Java", "domain": ["parsers", "security", "developer-tools"], "enriched": true, "function": ["parser", "security"], "health_score": 80, "homepage": null, "language": "Java", "license": "NOASSERTION", "license_family": "other", "maturity": "active", "member_repos": ["google/re2j"], "name": "google/re2j", "platform": ["jvm"], "pushed_at": "2026-05-22T14:44:22+00:00", "repo": "google/re2j", "stars": 1255, "tags": ["regex", "re2", "linear-time", "regex-dos", "pure-java"], "topics": ["java", "regular-expressions"], "urls": [], "use_cases": ["prevent regex denial of service from user-supplied patterns", "match regular expressions in linear time on large inputs", "replace java.util.regex for patterns with heavy alternation", "safely evaluate untrusted regex patterns in a web application", "avoid exponential backtracking in Java regex matching"], "what_it_is": "RE2/J is a pure Java port of Google's RE2 regular expression engine that guarantees linear-time matching using a nondeterministic finite automaton. It protects applications from catastrophic backtracking (ReDoS) when evaluating regex patterns, especially those from untrusted sources.", "when_to_avoid": ["you rely on backreferences or PCRE-specific features", "you need a drop-in java.util.regex replacement with full API parity", "you use flags like CANON_EQ, COMMENTS, or UNICODE_CASE"], "when_to_choose": ["your patterns have deep alternation and java.util.regex may backtrack exponentially", "you accept regex patterns from untrusted users and need ReDoS protection", "you need predictable worst-case matching time on large inputs"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/re2j", "repo": "google/re2j", "role": "main", "score": 60}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.845752+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T05:07:19.693750+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b05c7d28f34b6dd24ac968df501f7d0d47b4ef11b31004d4a52f4ae718daf47e", "fetched_at": "2026-08-28T04:04:08.845752+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/re2j"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.845752+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T05:07:19.693750+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b05c7d28f34b6dd24ac968df501f7d0d47b4ef11b31004d4a52f4ae718daf47e", "fetched_at": "2026-08-28T04:04:08.845752+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/re2j"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T05:07:19.693750+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b05c7d28f34b6dd24ac968df501f7d0d47b4ef11b31004d4a52f4ae718daf47e", "fetched_at": "2026-08-28T04:04:08.845752+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/re2j"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.845752+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.845752+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.845752+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T05:07:19.693750+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b05c7d28f34b6dd24ac968df501f7d0d47b4ef11b31004d4a52f4ae718daf47e", "fetched_at": "2026-08-28T04:04:08.845752+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/re2j"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.845752+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.845752+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T05:07:19.693750+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b05c7d28f34b6dd24ac968df501f7d0d47b4ef11b31004d4a52f4ae718daf47e", "fetched_at": "2026-08-28T04:04:08.845752+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/re2j"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.845752+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.845752+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.845752+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T05:07:19.693750+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b05c7d28f34b6dd24ac968df501f7d0d47b4ef11b31004d4a52f4ae718daf47e", "fetched_at": "2026-08-28T04:04:08.845752+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/re2j"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.845752+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.845752+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T05:07:19.693750+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b05c7d28f34b6dd24ac968df501f7d0d47b4ef11b31004d4a52f4ae718daf47e", "fetched_at": "2026-08-28T04:04:08.845752+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/re2j"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T05:07:19.693750+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b05c7d28f34b6dd24ac968df501f7d0d47b4ef11b31004d4a52f4ae718daf47e", "fetched_at": "2026-08-28T04:04:08.845752+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/re2j"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T05:07:19.693750+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b05c7d28f34b6dd24ac968df501f7d0d47b4ef11b31004d4a52f4ae718daf47e", "fetched_at": "2026-08-28T04:04:08.845752+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/re2j"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T05:07:19.693750+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b05c7d28f34b6dd24ac968df501f7d0d47b4ef11b31004d4a52f4ae718daf47e", "fetched_at": "2026-08-28T04:04:08.845752+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/re2j"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 83, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4215, "days_push": 103, "days_rel": 601, "gap_med": null, "n_releases_24m": 1}, "score": 60, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}