From: sean-ruby-talk@... Date: 2001-07-30T19:11:29+09:00 Subject: [ruby-talk:18794] gsub!(//n, '') What's the /n modifier do? --0eh6TmSyL6TZE2Uz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I was looking through cgi.rb and noticed a /n modifier and I have no clue what that does. It's not iomx and I'm stumped. I couldn't find it in any of my perl or regexp books. Here's the chunket in question. Ideas? Something to do with nil maybe? -sc def CGI::escapeHTML(string) string.gsub(/&/n, '&').gsub(/\"/n, '"').gsub(/>/n, '>').gsu= b(/ iEYEARECAAYFAjtlE88ACgkQn09c7x7d+q1MNACffhtY5hEqpjOfjoXwlVj2D5xv dw0AmwasE9TLBDI3N5OEjTs+N3j3iedp =Z1MS -----END PGP SIGNATURE----- --0eh6TmSyL6TZE2Uz--