▲ 91 ▼ Alright nerds, who can guess what this RegEx matches? (sopuli.xyz) submitted 8 months ago by NoFood4u@sopuli.xyz to c/programmer_humor@programming.dev 24 comments fedilink hide all child comments (?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`!()\[\]{};:'".,<>?«»“”‘’]))
[–] DarkSirrush@piefed.ca 11 points 8 months ago URLs in an HTML document that aren't namespaces or otherwise enclosed? permalink fedilink source