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
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs