Because I’ve read in an entire file as one string into memory,
shouldn’t $ mean the end of the file? And, shouldn’t /m tell it to
include everying, including newlines?
http://phrogz.net/ProgrammingRuby/language.html#regularexpressions
See \z and \Z