PCRE2Project/pcre2
PCRE2 development is based here. observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 99
- Release rhythm 29
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 128.5
- age_days: 1839
- days_rel: 316
- days_push: 7
- n_releases_24m: 3
Adoption not part of the score
1341 stars · 280 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PCRE2 is a self-contained C library implementing Perl-compatible regular expression pattern matching, with Unicode support and an optional high-performance JIT engine. It is portable, easy to embed, and widely bundled in products like Apache, Git, Safari, PHP, and R.
Use cases
- add perl-compatible regex matching to a C or C++ application
- embed a fast regex engine in another language runtime
- match Unicode text with regular expressions
- speed up regex-heavy workloads with a JIT compiler
- replace a platform's limited regex library with a full-featured one
When to choose
- you need Perl-compatible regex semantics in a C/C++ project
- you need Unicode support and multiple character encodings
- you need a mature, portable, permissively licensed (BSD) regex library
- regex performance is critical and JIT compilation helps
When to avoid
- you only need simple regexes available in your language's standard library
- you want a higher-level regex API in a scripting language rather than C
- you need a regex engine with linear-time guarantees like RE2
Facets
library · maturity stable
parser developer-tools parsers developer-tools programming-languages windows cross-platform c regex regular-expressions pcre unicode jit c-library embeddable linux macos
2 sources
- readme: https://github.com/PCRE2Project/pcre2 · fetched 2026-08-28 · b28b9fc8cb12
- homepage: https://pcre2project.github.io/pcre2/ · fetched 2026-08-29 · 12462282d4bf
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PCRE2Project/pcre2 | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="PCRE2Project/pcre2")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem