2025-12-05 06:40:15
The Perverse Beauty of Regex: A Love Letter to the World’s Most Efficient Torture Device
— by @…
🔣 https://www.<…
The Perverse Beauty of Regex: A Love Letter to the World’s Most Efficient Torture Device
— by @…
🔣 https://www.<…
Like global search and replace but don’t like surprises?
Check out serpl – a handy little command-line app that gives you a visual preview of the changes you are about to make. You can even go in and remove the replacements you don’t want from the source previews. The regex support appears to be basic, however (I couldn’t get a negative lookbehind to work).
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…
Do you use LLMs to generate regular expressions? We do, too! Do you *review* your regexes? Is that frustrating? How can we put humans in the loop better, doing relatively few, meaningful tasks? Please try out our new tool PICK:regex, available for VSCode!
https://blog.brownplt.org/2025/12/11/p
Has anybody reading this worked on Google’s RE2 C regex library? I have an amusement for you if so.
For Day 2 of #AdventOfCode I did a stupid and slow solution for part 1 and an even slower and extremly stupid solution for part 2 (using autogenerated and some handcrafted(!) regex).
Regex is kind of a nightmare, but it's so satisfying when it finally works.
you can bring down 20% of the internet with a single-character typo in a regex, but you can also destroy a nearly 50 year old bridge with a single incorrectly placed piece of heatshrink
isn't technology beautiful
https://blog.cloudflare.com/details-of-t…
@… #AskFedi I need a regex (for Discord’s AutoMod) that prevents any text in all Unicode “fonts” from being sent. By “Unicode fonts” I mean things like these:
Oh, how glad I am that I told Claude (command-line version) about `rename -n`. Seeing it iterate over half a dozen different regex patterns that might do what I wanted it to do, but were not quite right … lucky it could spot its errors before running the real thing.
I wish they'd either make Mastodon filters case-sensitive or allow regex
100k most used passwords
These are the latest 100k most insecure used (hacked?) passwords. I wonder why at least a minimal regex the first hurdle can stand in the way of the attackers, i.e. apparently has not yet been widely implemented? Am I wrong, or are there reliable sources?
💥