[ruby-core:78152] [Ruby trunk Feature#12898] String#match? method in addition to Regexp#match?

From: ruby@...
Date: 2016-11-15 13:47:51 UTC
List: ruby-core #78152
Issue #12898 has been updated by Herwin W.


I just opened a pull request to add this behaviour: https://github.com/ruby/ruby/pull/1483

It surprised me that his behaviour wasn't implemented.

----------------------------------------
Feature #12898: String#match? method in addition to Regexp#match?
https://bugs.ruby-lang.org/issues/12898#change-61512

* 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>

In This Thread

Prev Next