This particular code yields some strange results.
I'm using ruby 1.63 on Win2k

x="aren't"
z="\\\'"
puts x         =>  aren't  (expected)
puts z         =>  \'    (expected)
x.sub!(/\'/,z)  =>   arentt
puts x        =>   arentt   (huh?)


Ernie