Regular expressions as we basically now them today were made for ed. In that context, '$' absolutely had to match the terminating newline or it would've been completely useless.
eviks•1h ago
so why \A instead of ^?
autoexec•30m ago
I've said it before and I'll say it again, I'd like Python a lot more if it abandoned re and handled regex like perl did.
az09mugen•1m ago
They could simply advise to use boundaries '\b' instead.
Joker_vD•2h ago