From: Nobuyoshi Nakada Date: 2009-02-05T11:02:17+09:00 Subject: [ruby-core:21848] Re: What does this regexp mean - /\c#{_J}/ Hi, At Thu, 5 Feb 2009 07:53:55 +0900 Charles Oliver Nutter wrote in [ruby-core:21839]: >> irb(main):002:0> re = /\c#{_J}/ >> >> (irb):2: warning: regexp has invalid interval >> >> (irb):2: warning: regexp has `}' without escape > > No warnings in JRuby but we appear to do the same thing. Parser artifact > no doubt...I'd call it a bug. Not a bug. The regexp is same as /a{_J}/, which lacks numeric range inside repeatitive modifier. Oniguruma and JRuby just silently ignore the invalid regexp portion. -- Nobu Nakada