21 pointsby todsacerdoti8 hours ago4 comments
  • Joker_vD6 hours ago
    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.
  • az09mugen3 hours ago
    They could simply advise to use boundaries '\b' instead.
  • eviks5 hours ago
    so why \A instead of ^?
  • autoexec4 hours 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.