2026-01-28 19:23:56
Has anybody reading this worked on Google’s RE2 C regex library? I have an amusement for you if so.
Has anybody reading this worked on Google’s RE2 C regex library? I have an amusement for you if so.
Finally a package where I can't suspect the author of vibecoding!
"""
Version: 2026.3.32
Fixed segfault.
Version: 2026.3.31
Fixed bug again.
Version: 2026.3.30
Fixed bug.
"""
https://github.com/mrabarnett/mrab-regex/blob/5d51c75da03116e08bb6fb537fae6d8c804cc92c/changelog.txt
(It's also a horribly bad package, with tons of unmaintainable code, heavily relying on CPython internals.)
finding all regex matches has always been O(n²). even in the engines built to prevent it
every regex engine that promises linear time breaks that promise the moment you ask for all matches. the problem has been there since the 70s, hiding in plain sight.
— by ian erik varatalu
🤔 https://iev.ee/blog/the-…
from my link log —
All longest regex matches in linear time is possible.
https://iev.ee/blog/all-longest-regex-matches-in-linear-time/
saved 2026-03-17
KI generierter Code macht ja den Menschen nicht nur dümmer. Ich brauchte heute ein Tool um aus Config-Dateien sensible Informationen zu maskieren. U.a. auch Domains. Hatte erwartet, dass da ein paar RegEx's eingebaut werden. Stattdessen kam Codex mit https://publicsuffix.org/ um die Ecke. Kannte ich nicht. War d…
from my link log —
What 127.5 million forms can tell you about the state of front-end regex input validation on the Web.
https://amandastjerna.se/blog/127-million-forms/
saved 2026-03-02
KI generierter Code macht ja den Menschen nicht nur dümmer. Ich brauchte heute ein Tool um aus Config-Dateien sensible Informationen zu maskieren. U.a. auch Domains. Hatte erwartet, dass da ein paar RegEx's eingebaut werden. Stattdessen kam Codex mit https://publicsuffix.org/ um die Ecke. Kannte ich nicht. War d…