140
top 12 comments
sorted by: hot top controversial new old
[-] original_reader@lemm.ee 14 points 1 week ago
[-] yogthos@lemmy.ml 8 points 1 week ago

Yeah there are a few tools like that. I actually like this approach myself, you write it in a human readable form and then it gets compiled into a regex https://github.com/cmccomb/human_regex

[-] Object@sh.itjust.works 7 points 1 week ago* (last edited 1 week ago)

Worse: Debugging regex that needs to be passed as a string\.

[-] xmunk@sh.itjust.works 7 points 1 week ago* (last edited 1 week ago)

I herd u liek escape characters so I escaped your escaped your escaped your escape characters.

Insert obligatory \\\\\\\\Xzibit

[-] davel@lemmy.ml 4 points 1 week ago* (last edited 1 week ago)

Now you’ve got 𒐂 problems.

[-] TimeSquirrel@kbin.melroy.org 3 points 1 week ago

You don't use a regex generator/decoder? You actually tried to learn what that shit means??

[-] xmunk@sh.itjust.works 10 points 1 week ago

Hey, there's something magical about knowing what a negative look behind zero length assertion is.

[-] spooky2092@lemmy.blahaj.zone 3 points 1 week ago

I think I understand half of that without looking it up

[-] xmunk@sh.itjust.works 3 points 1 week ago

Warlock! Burn them!

[-] CapriciousDay@lemmy.ml 2 points 1 week ago

Would-be regex compiler writers wince as they realise they can't just implement a FSA 😢

[-] Ephera@lemmy.ml 4 points 1 week ago

Those regex crosswords ain't gonna solve themselves...

[-] Cysioland@lemmygrad.ml 1 points 1 week ago

Just learn some computer science and regexes will suddenly start making sense

this post was submitted on 14 Feb 2025
140 points (96.7% liked)

Programmer Humor

32707 readers
25 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS