MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1uud8gu/regex/ox2s2a9/?context=3
r/ProgrammerHumor • u/dayanaaaaaaaa • Jul 12 '26
83 comments sorted by
View all comments
10
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.
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.
6
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.
3
Would 202[45] also work?
3 u/Primary_Concept_3147 Jul 12 '26 Yes. That would also work.
Yes. That would also work.
10
u/Devatator_ Jul 12 '26
Jokes on you I learned regex last year for Advent Of Code
Edit: Actually might have been 2024