[1.9] [RubySpec] Support for /n Regexp modifier
-----------------------------------------------
Key: JRUBY-6143
URL: https://jira.codehaus.org/browse/JRUBY-6143
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules, Ruby 1.9.3, RubySpec
Reporter: Hiro Asari
{noformat}
8)
Regexps with encoding modifiers supports /n (No encoding) with interpolation
ERROR
RegexpError: /.../n has a non escaped non ASCII character in non ASCII-8BIT
script
/Users/asari/Development/src/jruby/spec/ruby/language/regexp/encoding_spec.rb:89:in
`(root)'
org/jruby/RubyBasicObject.java:1753:in `instance_eval'
org/jruby/RubyEnumerable.java:1313:in `all?'
org/jruby/RubyArray.java:1596:in `each'
/Users/asari/Development/src/jruby/spec/ruby/language/regexp/encoding_spec.rb:4:in
`(root)'
org/jruby/RubyKernel.java:996:in `load'
/Users/asari/Development/src/jruby/spec/ruby/language/regexp/encoding_spec.rb:56:in
`files'
org/jruby/RubyBasicObject.java:1753:in `instance_eval'
org/jruby/RubyArray.java:1596:in `each'
9)
Regexps with encoding modifiers supports /n (No encoding) with interpolation /o
ERROR
RegexpError: /.../n has a non escaped non ASCII character in non ASCII-8BIT
script
/Users/asari/Development/src/jruby/spec/ruby/language/regexp/encoding_spec.rb:93:in
`(root)'
org/jruby/RubyBasicObject.java:1753:in `instance_eval'
org/jruby/RubyEnumerable.java:1313:in `all?'
org/jruby/RubyArray.java:1596:in `each'
/Users/asari/Development/src/jruby/spec/ruby/language/regexp/encoding_spec.rb:4:in
`(root)'
org/jruby/RubyKernel.java:996:in `load'
/Users/asari/Development/src/jruby/spec/ruby/language/regexp/encoding_spec.rb:56:in
`files'
org/jruby/RubyBasicObject.java:1753:in `instance_eval'
org/jruby/RubyArray.java:1596:in `each'
{noformat}
--
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