1
Vote

String.delete gives a wrong result

description

I posted this before and it is marked as fixed, but when I just installed IronRuby 1.1.1, this fault still exists.
 
http://ironruby.codeplex.com/workitem/4858?ProjectName=ironruby
 
 
This happens in IronRuby 1.1.1:
C:\Program Files\IronRuby 1.1\bin>ir
IronRuby 1.1.1.0 on .NET 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
 
"Non-AuthoritativeInformation".delete(' -\'')
=> "Non-AuthoritativeInformation"
 
 
And this in Ruby 1.8.7:
C:\ruby187\bin>irb
irb(main):001:0> "Non-AuthoritativeInformation".delete(' -\'')
=> "NonAuthoritativeInformation"

comments