Project

General

Profile

Actions

Bug #12394

closed

Regexp#match? should strictly return true or false

Added by sam.saffron (Sam Saffron) almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:75604]

Description

Now:

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

Should be:

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

Also available in: Atom PDF

Like0
Like0Like0