▲ 246 ▼ rule (files.catbox.moe) submitted 1 month ago by spujb@lemmy.cafe to c/onehundredninetysix@lemmy.blahaj.zone 56 comments fedilink hide all child comments the original said reggae but i misread it as regex and got this idea lol original comic artist: thisstupidtwink@insta
[–] blueduck@piefed.social 6 points 1 month ago PCRE supports inline comments: foo(?# match literal foo)\d+ Also verbose mode pattern = re.compile(r""" ^ # start of string [A-Z]{2} # two uppercase letters \d{4} # four digits $ # end of string """, re.VERBOSE) permalink fedilink source parent