M
Martin Schoettler
(Ruby 1.8.1, Linux and Windows)
puts "a\\b".sub( /\\/, "\\\\" )
yields
a\b
(I expected: a\\b)
But
puts "a\\b".sub( /\\/, "\\x\\" )
yields
a\x\b
(as I would expect.)
BTW: Mails to (e-mail address removed) are rejected. Is there a new mail
adress for bugs?
puts "a\\b".sub( /\\/, "\\\\" )
yields
a\b
(I expected: a\\b)
But
puts "a\\b".sub( /\\/, "\\x\\" )
yields
a\x\b
(as I would expect.)
BTW: Mails to (e-mail address removed) are rejected. Is there a new mail
adress for bugs?