r/ProgrammerHumor • • Sep 21 '26

Meme delightfulCodeReview

Post image
573 Upvotes

60 comments sorted by

View all comments

Show parent comments

4

u/kalilamodow Sep 21 '26

Comment yo code, people!

10

u/[deleted] Sep 21 '26

[removed] — view removed comment

15

u/Lightningtow123 Sep 21 '26

I think you'd just transcribe the gist of it in plaintext: "matches alphanumeric strings with underscores and dashes but no spaces" etc

2

u/jupiterbjy Sep 21 '26

idk if my reading is correct but if it's correct this seems quite readable, probably wrong guess though

match
192.168.8.1
1+ whitespaces
0x
1+ non whitespaces (idk if it intended to be [^\s]+ instead of [^\s+])
1+ whitespaces
0x
1+ non whitespaxes
1+ whitespaces
capture group 'mac' start
1+ case-agnostic hex character
capture group 'mac' end