Warn `!/re/` by pocke · Pull Request #1694 · ruby/ruby

Currently CRuby warns "regexp literal in condition" for the following code. if /re/ end if /#{x}re/ end $ ruby -cw test.rb test.rb:1: warning: regex literal in condition test.rb:3: warni...