IMO, learn key concepts and techniques, as well as generally where to look to achieve a particular thing, and don't worry so much about committing every little detail to memory. Chances are if you're having to do the detailed parts often enough, you'll commit some important pieces here and there anyway. And if you don't, then maybe they're not that useful to know from your head.
In the regex example, I almost always use a tool to construct really complicated expressions, but I've been writing more of them lately and occasionally surprise myself by putting expressions together that I would have been terrified of a few short months ago. If I were writing a parser or something, chances are I'd learn and commit even more, but I haven't had a great reason to use a ton of regex up until recently so it wasn't as valuable of a skill to me.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
IMO, learn key concepts and techniques, as well as generally where to look to achieve a particular thing, and don't worry so much about committing every little detail to memory. Chances are if you're having to do the detailed parts often enough, you'll commit some important pieces here and there anyway. And if you don't, then maybe they're not that useful to know from your head.
In the regex example, I almost always use a tool to construct really complicated expressions, but I've been writing more of them lately and occasionally surprise myself by putting expressions together that I would have been terrified of a few short months ago. If I were writing a parser or something, chances are I'd learn and commit even more, but I haven't had a great reason to use a ton of regex up until recently so it wasn't as valuable of a skill to me.