From: duerst@... Date: 2017-11-18T09:25:23+00:00 Subject: [ruby-core:83814] [Ruby trunk Bug#14110][Closed] Ruby 2.5.0.dev (from trunk) still doesn't support zero unicode codepoints Issue #14110 has been updated by duerst (Martin D��rst). Status changed from Open to Closed My understanding is that bugs get backported, but features don't. While I think allowing \u{} can be convenient in some cases, I don't think it was part of the original design, and so I would think about it as a feature. ---------------------------------------- Bug #14110: Ruby 2.5.0.dev (from trunk) still doesn't support zero unicode codepoints https://bugs.ruby-lang.org/issues/14110#change-67848 * Author: ibylich (Ilya Bylich) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.5.0dev (2017-11-14 trunk 60757) [x86_64-darwin17] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- Hi, This commit - https://github.com/ruby/ruby/commit/7e8b910 - according to its commit message should allow zero unicode codepoints, i.e. ~~~ $ cat test.rb p "\u{}" $ ./ruby -v ruby 2.5.0dev (2017-11-14 trunk 60757) [x86_64-darwin17] $ ./ruby test.rb test.rb:1: invalid Unicode escape p "\u{}" ^ ~~~ Shouldn't it be supported now? Because the test that was removed (that zero codepoints are not supported) is still passing. Thanks. -- https://bugs.ruby-lang.org/ Unsubscribe: