diff options
author | Matthew Draper <matthew@trebex.net> | 2014-09-15 21:41:25 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2014-09-15 21:41:25 +0930 |
commit | 62955c77bf380fe39005c1a7de8b8fde769af2cd (patch) | |
tree | 87940d31e4c7efdc7ed9edec666889f49a06747d /activesupport/lib/active_support/multibyte | |
parent | c0a4a300f75a1e63ab3d8d8c31315bf3e456904e (diff) | |
download | rails-62955c77bf380fe39005c1a7de8b8fde769af2cd.tar.gz rails-62955c77bf380fe39005c1a7de8b8fde769af2cd.tar.bz2 rails-62955c77bf380fe39005c1a7de8b8fde769af2cd.zip |
As of Unicode 6.3, Mongolian Vowel Separator is not whitespace
Ruby 2.2 knows this, and no longer matches it with [[:space:]], so it's
not a good candidate for testing String#squish.
Diffstat (limited to 'activesupport/lib/active_support/multibyte')
-rw-r--r-- | activesupport/lib/active_support/multibyte/unicode.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/multibyte/unicode.rb b/activesupport/lib/active_support/multibyte/unicode.rb index 89009d1f55..7d45961515 100644 --- a/activesupport/lib/active_support/multibyte/unicode.rb +++ b/activesupport/lib/active_support/multibyte/unicode.rb @@ -42,7 +42,6 @@ module ActiveSupport 0x0085, # White_Space # Cc <control-0085> 0x00A0, # White_Space # Zs NO-BREAK SPACE 0x1680, # White_Space # Zs OGHAM SPACE MARK - 0x180E, # White_Space # Zs MONGOLIAN VOWEL SEPARATOR (0x2000..0x200A).to_a, # White_Space # Zs [11] EN QUAD..HAIR SPACE 0x2028, # White_Space # Zl LINE SEPARATOR 0x2029, # White_Space # Zp PARAGRAPH SEPARATOR |