Of course I was 100% incorrect as $ is in fact the end-of-line marker so now I just remember that "it's the opposite"!
Of course I was 100% incorrect as $ is in fact the end-of-line marker so now I just remember that "it's the opposite"!
"No, the other left..."
For me it was easier to remember what ^ was, as it looks like a pointer of sorts, so felt natural it would be the beginning. Like how a string variable points to the first character.
Trying to consciously think about the gut-feeling that makes me remember this, all I can come up with is that $ feels "heavier" than ^, which just leads it to naturally feel like the end of a line. Perhaps its verticalness makes it feel like the vertical blinking cursor, and that's what this gut-feeling is really about? I'm not sure, the mind is a mystery sometimes haha.
Start with . and .*, then add additional stuff as you get comfortable