From: James Edward Gray II Date: 2007-01-29T06:13:32+09:00 Subject: Re: Ruby << is ambiguos On Jan 28, 2007, at 3:06 PM, Neville Franks wrote: > Thanks, but that isn't how the Ruby interpreter works, so this is > really > a hack that may or may not work with real code. You're definitely going to need heuristics like this in syntax highlighting Ruby source code. Only ruby can read Ruby, to borrow the Perl expression. ;) James Edward Gray II