from Hacker News

Show HN: Bitmatch – ANSI C bit pattern matching

by cryo on 5/18/23, 11:37 AM with 0 comments

Hi HN,

bitmatch is my new library to do bit pattern matching and data extraction, similar to Regular Expressions.

It has no dependencies, libc usage or dynamic memory allocations.

I'm sharing the code as Open Source since the question for bit pattern matching came up on Stack Overflow but there aren't that many options for C out there.