Revision: 3646 http://trac.macosforge.org/projects/ruby/changeset/3646 Author: lsansonetti@apple.com Date: 2010-02-26 21:49:08 -0800 (Fri, 26 Feb 2010) Log Message: ----------- comment a regexp that cannot be compiled yet Modified Paths: -------------- MacRuby/branches/icu/lib/irb/locale.rb Modified: MacRuby/branches/icu/lib/irb/locale.rb =================================================================== --- MacRuby/branches/icu/lib/irb/locale.rb 2010-02-27 03:19:02 UTC (rev 3645) +++ MacRuby/branches/icu/lib/irb/locale.rb 2010-02-27 05:49:08 UTC (rev 3646) @@ -12,6 +12,9 @@ class Locale @RCS_ID='-$Id: locale.rb 20889 2008-12-20 02:02:48Z yugui $-' + LOCALE_NAME_RE = // +=begin + # This regexp can't compile on MacRuby because of named captures. LOCALE_NAME_RE = %r[ (?<language>[[:alpha:]]{2}) (?:_ @@ -24,6 +27,7 @@ (?<modifier>.*) )? ]x +=end LOCALE_DIR = "/lc/" @@legacy_encoding_alias_map = {}.freeze