From: Brian Candler Date: 2009-08-18T19:26:40+09:00 Subject: Re: Reading contents of a file and storing Robert Dober wrote: > I was just wondering, should we not refuse to use ^ for the beginning > of a string ( even knowing it is a line )? I personally have abandoned > ^ for \A for quite some time now. Is nobody going to follow ;). I didn't follow you, but I've been using \A..\z for years. This is certainly an area where Ruby can trip you up dangerously, if you're expecting Perl-like regular expression behaviour. -- Posted via http://www.ruby-forum.com/.