On Nov 5, 2007, at 1:28 PM, Roger Pack wrote:

>
> I wonder if that fact that regex's always with have two /'s might
> help...
>

probably not - unless you wanted to introduce ';'s to ruby too:


cfp:~ > cat a.rb
x = 1

result =
x / 4 * 2 /
   42
p result

def x(*re) 'forty-two' end

result =
x / 4 * 2 /
   42
p result

result =
x(/ 4 * 2 /)
   42
p result


cfp:~ > ruby a.rb
0
0
"forty-two"



a @ http://codeforpeople.com/
--
share your knowledge.  it's a way to achieve immortality.
h.h. the 14th dalai lama