C++ regular-expression

Open-source C++ projects categorized as regular-expression

Top 4 C++ regular-expression Projects

regular-expression
  1. compile-time-regular-expressions

    Compile Time Regular Expression in C++

    Project mention: Show HN: Less Slow C++ | news.ycombinator.com | 2025-04-18

    The problem can occur in general if there is a greedy match within the regex: https://github.com/hanickadot/compile-time-regular-expressio...

    Although it looks like that this got fixed for simple patterns.

  2. JetBrains

    Tell us how you use coding tools. You may win a prize! Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!

    JetBrains logo
  3. RE-flex

    Yet another high-performance C++ regex library and lexical analyzer generator like Flex: extends Flex++ with Unicode support, indent/dedent anchors, lazy quantifiers, functions for lex and syntax error reporting and more. Seamlessly integrates with Bison and other parsers. (by Genivia)

  4. matcheroni

    A minimalist single-header library for building pattern-matchers, lexers, and parsers.

  5. compile_time_regexp.h

    A simple compile time dfa based regular expression library for C++20.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ regular-expression discussion

Log in or Post with

C++ regular-expression related posts

  • Implementing Regular Expressions in TypeScript Types (Badly)

    3 projects | news.ycombinator.com | 20 Oct 2024
  • Giving C++ std:regex a C makeover

    4 projects | news.ycombinator.com | 5 Sep 2024
  • Compile time regular expression in C++

    5 projects | news.ycombinator.com | 12 Sep 2023
  • What are thoughts on removing regular expression from the standard library?

    1 project | /r/cpp | 8 Jun 2023
  • It's easy, I swear! Once you learn a bit about it, you'll be amazed!

    3 projects | /r/ProgrammerHumor | 23 Apr 2023
  • Verify all characters are same except a few

    1 project | /r/cpp_questions | 9 Mar 2023
  • Constexpr regex parser!

    2 projects | /r/cpp | 14 Feb 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 1 Sep 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source regular-expression projects in C++? This list will help you:

# Project Stars
1 compile-time-regular-expressions 3,650
2 RE-flex 569
3 matcheroni 205
4 compile_time_regexp.h 17

Sponsored
Tell us how you use coding tools. You may win a prize!
Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
surveys.jetbrains.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?