[macruby-changes] [3720] MacRuby/branches/icu/lib/net/telnet.rb

source_changes at macosforge.org source_changes at macosforge.org
Tue Mar 9 17:29:16 PST 2010


Revision: 3720
          http://trac.macosforge.org/projects/ruby/changeset/3720
Author:   lsansonetti at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100309/0403e8e5/attachment.html>


More information about the macruby-changes mailing list