[macruby-changes] [3646] MacRuby/branches/icu/lib/irb/locale.rb
source_changes at macosforge.org
source_changes at macosforge.org
Fri Feb 26 21:49:11 PST 2010
Revision: 3646
http://trac.macosforge.org/projects/ruby/changeset/3646
Author: lsansonetti at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100226/c7b7af60/attachment-0001.html>
More information about the macruby-changes
mailing list