From: "naruse (Yui NARUSE)" Date: 2012-12-17T11:12:34+09:00 Subject: [ruby-core:50929] [ruby-trunk - Bug #7566][Rejected] Escape (\u{}) forms in Regexp literals Issue #7566 has been updated by naruse (Yui NARUSE). Status changed from Open to Rejected Because Regexp Literals are not String Literals, and escapes in them have different meanings. For example \b, it is word boundary in Regexp but BEL in String. People will need to distingish word boundary from BEL, so \b must be showed as \b. \uXXXX follows such style. ---------------------------------------- Bug #7566: Escape (\u{}) forms in Regexp literals https://bugs.ruby-lang.org/issues/7566#change-34784 Author: brixen (Brian Ford) Status: Rejected Priority: Normal Assignee: Category: core Target version: 2.0.0 ruby -v: ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin10.8.0] Why are \u{} escape sequences in Regexp literals not converted to bytes like they are in String literals? https://gist.github.com/4290155 Thanks, Brian -- http://bugs.ruby-lang.org/