2025-11-24 16:09:46
@… #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:
@… #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:
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
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).
Has anybody reading this worked on Google’s RE2 C regex library? I have an amusement for you if so.
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…
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.