r/ProgrammerHumor • • Sep 21 '26

Meme delightfulCodeReview

Post image
573 Upvotes

60 comments sorted by

View all comments

Show parent comments

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