diff options
author | wycats <wycats@gmail.com> | 2010-03-17 00:15:55 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-03-17 00:20:09 -0700 |
commit | a5587efc1903fd27d4b179753aa6e139445ad18c (patch) | |
tree | 7642d070d3f876e4c11b7aea3cded9ec2ffd2d79 /activesupport/lib/active_support/multibyte.rb | |
parent | cd9ffd11e13ef6e62eba2cbd5c3760ff04132820 (diff) | |
download | rails-a5587efc1903fd27d4b179753aa6e139445ad18c.tar.gz rails-a5587efc1903fd27d4b179753aa6e139445ad18c.tar.bz2 rails-a5587efc1903fd27d4b179753aa6e139445ad18c.zip |
Remove some 1.9 warnings (resulting in some fixed bugs). Remaining AM warnings are in dependencies.
Diffstat (limited to 'activesupport/lib/active_support/multibyte.rb')
-rw-r--r-- | activesupport/lib/active_support/multibyte.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/multibyte.rb b/activesupport/lib/active_support/multibyte.rb index 7e6f7d754b..428c48a484 100644 --- a/activesupport/lib/active_support/multibyte.rb +++ b/activesupport/lib/active_support/multibyte.rb @@ -53,8 +53,8 @@ module ActiveSupport #:nodoc: \xf4 [\x80-\x8f] [\x80-\xbf] [\x80-\xbf])\z /xn, # Quick check for valid Shift-JIS characters, disregards the odd-even pairing 'Shift_JIS' => /\A(?: - [\x00-\x7e \xa1-\xdf] | - [\x81-\x9f \xe0-\xef] [\x40-\x7e \x80-\x9e \x9f-\xfc])\z /xn + [\x00-\x7e\xa1-\xdf] | + [\x81-\x9f\xe0-\xef] [\x40-\x7e\x80-\x9e\x9f-\xfc])\z /xn } end end |