Ross ROSS = Recommend OSS · open-source software intelligence for agents

hanickadot/compile-time-regular-expressions

Compile Time Regular Expression in C++ observed · 2026-08-28

github.com/hanickadot/compile-time-regular-expressions · homepage · C++ · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

79/100

  • Activity 92
  • Release rhythm 51
  • Longevity 100
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: 353
  • age_days: 3721
  • days_rel: 117
  • days_push: 53
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

3839 stars · 209 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A C++17/C++20 header-only library that evaluates regular expressions at compile time using constexpr and template metaprogramming. It supports matching, searching, capturing (including named captures), back-references, and most PCRE syntax with UTF-8 and Unicode property support.

Use cases

  • validate strings against a regex with zero runtime parsing overhead
  • extract capture groups from text in C++ with type-safe results
  • replace std::regex with a faster compile-time alternative
  • match UTF-8 strings with Unicode property support
  • use regex in constexpr contexts during compilation

When to choose

  • you know your regex patterns at compile time and want maximum performance
  • you want a header-only dependency with no runtime regex compilation
  • you need PCRE-like syntax in modern C++ (17/20)

When to avoid

  • you need to build regex patterns dynamically at runtime
  • you rely on PCRE features like callouts, conditional patterns, or subroutines
  • you need a regex engine for a language other than C++

Facets

library · maturity stable

parser search-engine developer-tools parsers developer-tools cpp cross-platform regular-expressions constexpr compile-time header-only pcre cpp17 cpp20 template-metaprogramming algorithms

2 sources

Member repositories

RepositoryRoleHealth v2
hanickadot/compile-time-regular-expressionsmain79

For agents

markdown · JSON · MCP: product_card(name="hanickadot/compile-time-regular-expressions")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem