Title photo
frugal technology, simple living and guerrilla large-appliance repair
Fri, 12 Jan 2018

Don't rely on \r \n in your regexes

Don't rely on \r \n in your regexes. I have based a couple on the files having Windows-style endings, and I'm now realizing that text editors can change all endings automatically when you open up a document. Endings of \r\n can become \n if the editor is set that way.