[3720] MacRuby/branches/icu/lib/net/telnet.rb
Revision: 3720 http://trac.macosforge.org/projects/ruby/changeset/3720 Author: lsansonetti@apple.com Date: 2010-03-09 17:29:16 -0800 (Tue, 09 Mar 2010) Log Message: ----------- comment a regexp that won't compile with ICU Modified Paths: -------------- MacRuby/branches/icu/lib/net/telnet.rb Modified: MacRuby/branches/icu/lib/net/telnet.rb =================================================================== --- MacRuby/branches/icu/lib/net/telnet.rb 2010-03-10 01:28:51 UTC (rev 3719) +++ MacRuby/branches/icu/lib/net/telnet.rb 2010-03-10 01:29:16 UTC (rev 3720) @@ -320,7 +320,8 @@ hexvals = line.unpack('H*')[0] hexvals += ' ' * (32 - hexvals.length) hexvals = format("%s %s %s %s " * 4, *hexvals.unpack('a2' * 16)) - line = line.gsub(/[\000-\037\177-\377]/n, '.') + # XXX MacRuby will not parse this regexp. + #line = line.gsub(/[\000-\037\177-\377]/n, '.') printf "%s 0x%5.5x: %s%s\n", dir, addr, hexvals, line addr += 16 offset += 16
participants (1)
-
source_changes@macosforge.org