[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: $ anchor for string of a whole file

Gavin Kistner

9/29/2006 4:01:00 PM

> 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#regulare...
See \z and \Z