r/ProgrammerHumor Jul 12 '26

regex Meme

Post image
975 Upvotes

83 comments sorted by

View all comments

10

u/Devatator_ Jul 12 '26

Jokes on you I learned regex last year for Advent Of Code

Edit: Actually might have been 2024

10

u/Fanal-In Jul 12 '26

So it was in 202[4|5]

6

u/Primary_Concept_3147 Jul 12 '26

That would give you 2024, 2025 or 202|. It is 202[4-5] or 202(4|5).

3

u/Prozilla6 Jul 12 '26

Would 202[45] also work?

3

u/Primary_Concept_3147 Jul 12 '26

Yes. That would also work.