Skip to content
⌘K

Compile Time Regular Expressions

Compile Time Regular Expression in C++.

health 26contrib –3.9k

Overview & architecture

C++ standard
–
Build systems
–
License
Apache-2.0
Languages
C++
Last release
v3.11.0 · May 8, 2026
Also known as
CTRE

Repository activity

snapshot Nov 23, 2026
GitHub stars
latest
3.9k▲ 17
Merged PRs (30d)
latest
0
Contributors (90d)
–
No snapshots yet.
Issue first response p50
–
No snapshots yet.
86 open issues19 open PRs0 commits (30d)

Recent notable activity

Maintainers & organizations

every claim links to its source

Maintainers

Top contributors

Releases & changelog

  • Compile Time Regular Expressions v3.11.0major

    What's Changed Update Experimental CMAKE_IMPORT_STD Flags by @MathewBensonCode in Improved bugs of >127 characters when using char is signed. Full Changelog:

  • Compile Time Regular Expressions v3.10.0major

    Changes fix for warning in wrapper.hpp #307 added operator-> in search_all iterator #311 allow () in grammar #319 range-for in unicode library is using reference instead of copy #316 improve cmake for modules from PR #322 and PR #323 fixes problems with modules in MSVC #324 make work a, b, and regimes #326 don't…

  • Compile Time Regular Expressions v3.9.0major

    you can now use CTRE as C++ module! with -DCTRE_MODULE=ON (experimental) 🎉 ctre::range is deprecated and replaced with ctre::search_all c++ void print_all_string(std::string_view subject) { for (auto word: ctre::search_all (subject)) { std::cout parse_number(std::string_view) { return ctre::match…

  • Compile Time Regular Expressions v3.8.1

    fix of error with checked iterators in MSVC when ctre::split range return last item empty update cmake project version to mirror release version

  • Compile Time Regular Expressions v3.8major

    ability to build ctll::fixed_string from pointer and std::array (ctll::fixed_string (ctll::construct_from_pointer, ptr)) improved compatibility issues of operator== and operator!= utf8_iterator and utf8_sentinel

  • Compile Time Regular Expressions v3.7.2: explicit operator bool

    conditional [[msvc::flatten]] and explicit operator bool on capture groups, which fixes #275

  • Compile Time Regular Expressions v3.7.1: miscellaneous fixes + switching modes

    switching modes inside pattern (pattern: (?i)AB(?c)AB matches string: "abAB") better detection of char8_t support fix build failure in libc++ debug mode remove some shadowing warnings

  • Compile Time Regular Expressions v3.7: case-insensitive matching and look-behindmajor

    Support for: lookbehind positive ( (subject_or_range) (example: ctre::match (input) Notes: don't use mixes case range when doing case_insensitive: [a-z] will match a-zA-Z [a-Z] won't match anything (as ascii(a) > ascii(Z)) [A-z] will match more than you expect A-Z[\]^_a-z + backtick (as I don't know how to type in…

  • Compile Time Regular Expressions v3.6major

    [[:punct:]] behaves as ispunct in C fix for several MSVC warnings cmake library is using C++20 by default (you can change it back with -DCTRE_CXX_STANDARD=17) CI/CD for all supported compilers (+ some fixes along the way)

  • Compile Time Regular Expressions v3.5: Unicode 14 supportmajor

    updated to Unicode 14 fix in UTF-16 support in patterns better support of C++17 modes on newer compilers

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement. Contribution scanning is off for this project.

Why this score

Health 26Contribution friendliness –computed 20h ago
  • Activity0.00
    0 merged PRs in 30 days (full marks at 20); 0 commits in 30 days (full marks at 60) [health score: no data for maintainer responsiveness, backlog pressure; weights renormalized]health
  • Onboarding0.25
    has CI; missing contributing guide, mainstream build (CMake/Bazel/Meson), docs sitecontrib
  • Release cadence0.55
    last release 198 days ago (full marks within 90, zero after 730); 1 releases in 365 days (full marks at 4) [health score: no data for maintainer responsiveness, backlog pressure; weights renormalized]health
  • Contributor breadth0.36
    top contributor has 70% of commits; stars count for at most 5% of this signal [health score: no data for maintainer responsiveness, backlog pressure; weights renormalized]health

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.