jruby --1.9 has problems with regexp and character property name {Lu}
---------------------------------------------------------------------

                 Key: JRUBY-5855
                 URL: http://jira.codehaus.org/browse/JRUBY-5855
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6.2, JRuby 1.6.1
            Reporter: kristian meier
            Assignee: Thomas E Enebo


jruby --1.9 has problems with regexp and character property name {Lu}
{noformat}
$ java -jar jruby-complete-1.6.2.jar --1.9 -e "require 'rubygems'; require 
'dm-validations'; puts DataMapper::VERSION"
RegexpError: (RegexpError) invalid character property name {Lu}: 
/^(?:[a-zA-Z\p{Lu}\p{Ll}0-9!#$%&'*+\/=?^_`{|}~-]+([.][a-zA-Z\p{Lu}\p{Ll}0-9!#$%&'*+\/=?^_`{|}~-]*)+|["](?:[^\x01-\x08\x11\x12\x14-\x1F\x7F\x0D\x22\x5C]|(\x5C[\x01-\x09\x11\x12\x14-\x7F]))+["]|(?:[a-zA-Z\p{Lu}\p{Ll}0-9!#$%&'*+\/=?^_`{|}~-]+|["](?:[^\x01-\x08\x11\x12\x14-\x1F\x7F\x0D\x22\x5C]|(\x5C[\x01-\x09\x11\x12\x14-\x7F]))+["])([.](?:[a-zA-Z\p{Lu}\p{Ll}0-9!#$%&'*+\/=?^_`{|}~-]+|["](?:[^\x01-\x08\x11\x12\x14-\x1F\x7F\x0D\x22\x5C]|(\x5C[\x01-\x09\x11\x12\x14-\x7F]))+["]))*)@(?:[a-zA-Z\p{Lu}\p{Ll}0-9!#$%&'*+\/=?^_`{|}~-]+([.][a-zA-Z\p{Lu}\p{Ll}0-9!#$%&'*+\/=?^_`{|}~-]*)+|\[(?:[\x01-\x08\x11\x12\x14-\x1F\x7F\x21-\x5A\x5E-\x7E]|(\x5C[\x01-\x09\x11\x12\x14-\x7F]))+\]|[a-zA-Z\p{Lu}\p{Ll}0-9!#$%&'*+\/=?^_`{|}~-]+([.][a-zA-Z\p{Lu}\p{Ll}0-9!#$%&'*+\/=?^_`{|}~-]+)+)$/
{noformat}

jruby --1.8 works
{noformat}
$ java -jar 
~/.m2/repository/org/jruby/jruby-complete/1.6.2/jruby-complete-1.6.2.jar -e 
"require 'rubygems'; require 'dm-validations'; puts DataMapper::VERSION"
1.1.0
{noformat}

same with MRI 1.9 and 1.8

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
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