[ruby-core:77909] [Ruby trunk Feature#12898] String#match? method in addition to Regexp#match?
From:
shyouhei@...
Date:
2016-11-04 08:50:57 UTC
List:
ruby-core #77909
Issue #12898 has been updated by Shyouhei Urabe. Stefan Schテシテ殕er wrote: > Ruby 2.4 introduces [`Regexp#match?`](https://bugs.ruby-lang.org/issues/8110). There should be an accompanying `String#match?` method. Can you be a bit more verbose here? You mean a String instance method named "match?" that takes a Regexp instance? Please show us in detail why you need that. ---------------------------------------- Feature #12898: String#match? method in addition to Regexp#match? https://bugs.ruby-lang.org/issues/12898#change-61223 * Author: Stefan Schテシテ殕er * Status: Open * Priority: Normal * Assignee: ---------------------------------------- Ruby 2.4 introduces [`Regexp#match?`](https://bugs.ruby-lang.org/issues/8110). There should be an accompanying `String#match?` method. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>