nowfound

Life & fun · December 15, 2024

Non-backtracking, Unicode aware regular expression library in C89

Compact, non-backtracking, unicode aware regular expressions in C89 - mnurzia/bbre

Non-backtracking, Unicode aware regular expression library in C89 launched on December 15, 2024 with 7 votes and more than 75% of that year's launches. The site was still online in September 2026, 1 year on.

What it does

#include <assert.h> #include <string.h> #include "bbre.h" int main ( void ) { const char * text = "Hello WorLd!" ; bbre * reg = bbre_init_pattern ( "Hel*o (?i)[w]orld!" ); assert ( bbre_is_match ( reg , text , strlen ( text )) == 1 ); bbre_destroy ( reg ); return 0 ; } FAQ Why write this? I like regular expressions and C89. "blueberry", because I ate a lot of frozen blueberries while I wrotefrom github.com

Does a similar job

all alternatives →
  • Regex library2022 · uibakery.io · ▲276

    A curated list of most commonly used regular expressions

  • I built an embeddable Unicode library with MISRA C conformance2024 · railgunlabs.com · ▲117

    Hello, everyone. I built Unicorn: an embeddable MISRA C:2012 implementation of essential Unicode Algorithms. Unicorn is designed to be fully customizable: you can select which Unicode algorithms and character properties are included or excluded from compilation. You can also exclude Unicode character blocks wholesale for scripts your application does not support. It's perfect for resource constrained devices like microcontrollers and IoT devices. About me: I quit my Big Corp job a few years back to pursue my passion for software development and this is one of my first commercial releases.

  • Regex Cheatsheet2020 · ihateregex.io · ▲499

    A modern regular expression playground with live matching, visual railroad diagrams, rich notes, and easy sharing.

  • IW
    I wrote a book on Python regular expressions2019 · ▲193

    My book titled "Python re(gex)?" is free to download through this weekend [1][2] The book covers both 're' and 'regex' modules, has plenty of examples and chapters also have cheatsheets and exercises. Code snippets, exercises, sample chapters, etc are available on GitHub repo [3] I used pandoc+xelatex [4] to generate the pdf. [1] https:&#x2F;&#x2F;gumroad.com&#x2F;l&#x2F;py_regex [2] https:&#x2F;&#x2F;leanpub.com&#x2F;py_regex [3] https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;py_regular_expressions [4]…

  • /^[a-z0-9_-]{3,16}$/2020 · open.spotify.com · ▲106

    A podcast about regular expressions

  • OC
    One clean, developer-focused page for every Unicode symbolDec 2025 · fontgenerator.design · ▲198

    I’m building a Unicode reference where each symbol has its own dev-friendly page with all relevant encodings. Example: [https:&#x2F;&#x2F;fontgenerator.design&#x2F;symbol&#x2F;almost-equal-to](https:&#x2F;&#x2F;fontgenerator.design&#x2F;symbol&#x2F;almost-equal-to) Includes Unicode, HTML, CSS, JS, UTF-8&#x2F;16 bytes, URL encoding, and usage examples. The same structure is used across thousands of symbols (math, arrows, currency, tech&#x2F;UI, punctuation). Built because existing references are fragmented. Feedback welcome.

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, December 2024

the whole month →
  • Remy AI▲2,170

    Anyone can sleep and recover better

    AI · 2024 · apps.apple.com

  • Remento▲1,681

    The AI biographer for loved ones

    AI · 2024 · remento.co

  • Aimfox▲1,213

    Built for LinkedIn outreach, made to close deals

    Growth · 2024 · aimfox.com

  • Stackfix▲1,112

    Compare software in seconds

    AI · 2024 · stackfix.com

  • Coval▲1,012

    Simulation & evals to ship delightful voice & chat AI agents

    AI · 2024 · coval.ai

  • VocAdapt▲961

    Master languages with AI-adapted authentic content

    Life & fun · 2024 · vocadapt.com