kokke/tiny-regex-c
Small portable regex in C observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3424
- days_rel: n/a
- days_push: 677
- n_releases_24m: 0
Adoption not part of the score
1500 stars · 210 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small, portable regular expression library written in C, supporting a subset of Python's re-module syntax. It is designed for minimal resource usage with no dynamic memory allocation, making it suitable for embedded systems.
Use cases
- add regex matching to a C project without heavy dependencies
- pattern matching in embedded firmware with no malloc
- parse text with simple regex patterns in C
- validate string formats like dates or identifiers in C
- use regex on microcontrollers with limited RAM
When to choose
- you need regex in C with a tiny ~3kb binary footprint
- your target environment forbids dynamic memory allocation
- you only need basic regex operators without capture groups
- you want a single-file, easily auditable library
When to avoid
- you need capture groups, named groups, or advanced regex features
- you need full PCRE or Python re compatibility
- you need high performance on large inputs
- you rely on inverted character classes, which have known bugs
Facets
library · maturity stable
parser developer-tools parsers developer-tools programming-languages cross-platform c embedded regex embedded-friendly no-malloc small-footprint single-file
1 source
- readme: https://github.com/kokke/tiny-regex-c · fetched 2026-08-28 · 0f024d5cd122
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kokke/tiny-regex-c | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="kokke/tiny-regex-c")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem