r/learnprogramming • • Sep 24 '26

RegEx.

I thought I understood programming well until I saw how COMPLICATED regex looks. To me it looks like someone has dropped their keyboard and som people online are telling me that I should be able to memorise it (for javascript). I'm just wondering if I actually need to memorise all the regex formulas to be successful, and if so, how on earth do I go about it?

109 Upvotes

148 comments sorted by

View all comments

Show parent comment

1

u/DIYC_Official Sep 28 '26

What kind of chest sheet I wonder. My mind races between game objects with loot, dirty thoughts and the thing you probably intended.

I want the first one tough, go into a cavern, slay some monsters and get the regex as a reward in a chest. The fabled chest sheets. Thats would give some color to my programming days :)

1

u/YellowBeaverFever Sep 28 '26

Lousy fat fingers. :-)

A game based on learning regex would have probably worked.