95
submitted 6 days ago* (last edited 6 days ago) by NoFood4u@sopuli.xyz to c/programmer_humor@programming.dev
(?i)\b((?:(?:[a-z][\w-]+:)?(?:/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))
you are viewing a single comment's thread
view the rest of the comments
[-] vk6flab@lemmy.radio 16 points 6 days ago

At first glance IP address or URL, embedded in HTML, whatever it is, it's a doozy. I wonder what the performance of it is like.

[-] towerful@programming.dev 13 points 6 days ago

It works out as O(regex^n)

[-] tdawg@lemmy.world 3 points 6 days ago
this post was submitted on 10 Mar 2026
95 points (95.2% liked)

Programmer Humor

30412 readers
2109 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS