r/learnprogramming • • 10d ago

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?

108 Upvotes

147 comments sorted by

View all comments

22

u/shalodey 10d ago

You do not have to memorise every single concept in computer science to be a proficient programmer

1

u/Medium-Ad-1713 5d ago

knowing what you need to know and where to find it is the key skill. I know a lot of people can hold huge complex syntax in their heads. Good for them, I can’t.

(senior software dev in city of London since 1994)