From: Love U Ruby Date: 2013-04-27T15:20:35+09:00 Subject: confusion with String#squeeze Hi, Here is one confusion with String#squeeze. string = "adb\n\n \n\nbbb" p string.squeeze('\n') #=> "adb\n\n \n\nbbb" why the `\n\n` not being replaced into single `\n`? -- Posted via http://www.ruby-forum.com/.