Issue #12394 has been reported by Sam Saffron.

----------------------------------------
Bug #12394: Regexp#match? should strictly return true or false
https://bugs.ruby-lang.org/issues/12394

* Author: Sam Saffron
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 2.4.0.dev
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
Now:

//.match?"" => nil
/a/.match?"" => nil

Should be:


//.match?"" => true
/a/.match?"" => false



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