[:space:] does not match unicode 0x3000: fullwidth whitespace
-------------------------------------------------------------

                 Key: JRUBY-5939
                 URL: https://jira.codehaus.org/browse/JRUBY-5939
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6.3, JRuby 1.7
            Reporter: John Firebaugh
            Assignee: Thomas E Enebo


{code}
$ rvm exec ruby -v -e 'puts [0x3000].pack("U") =~ /[[:space:]]/'
jruby 1.6.3 (ruby-1.9.2-p136) (2011-07-07 965162f) (Java HotSpot(TM) Client VM 
1.6.0_26) [darwin-i386-java]

jruby 1.7.0.dev (ruby-1.9.2-p136) (2011-07-23 a7410e1) (Java HotSpot(TM) Client 
VM 1.6.0_26) [darwin-i386-java]

ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0]
0
{code}

This causes test failures for activesupport's String#blank?

https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/object/blank.rb#L105

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to