SafeRE 1.0 released

Eddie Aftandilian — September 28, 2026

I've just released SafeRE 1.0.0, a safe, correct, and fast regular expression library for Java. You can grab it from Maven Central.

SafeRE guarantees linear-time matching for a fixed compiled pattern. SafeRE's finite automata prevent catastrophic backtracking by construction, blocking regular expression denial-of-service (ReDoS) attacks that exploit it.

What does 1.0 mean?

My initial goal in building SafeRE was to deliver a safe, production-grade regex library using agents to accelerate the process. It was an experiment to see whether I could build a technically complex library faster than previously possible, and a way for me to build experience developing in a serious (i.e., not vibecoded) codebase with agents.