From: Michael Morgan Date: 2008-12-13T05:39:14+09:00 Subject: [ruby-core:20508] [Bug #864] String#include? regexp Bug #864: String#include? regexp http://redmine.ruby-lang.org/issues/show/864 Author: Michael Morgan Status: Open, Priority: Normal Category: core, Target version: 1.9.0-5 For consistency, String#include? should be able to take a regexp as an argument. I realize that the return value of String#index(regexp) and String#match(regexp) could be used, but String#include?(regexp) would be both more readable and less resource-intensive. ---------------------------------------- http://redmine.ruby-lang.org