https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2016-05-19T02:51:20Z
Ruby Issue Tracking System
Ruby master - Bug #12394: Regexp#match? should strictly return true or false
https://bugs.ruby-lang.org/issues/12394?journal_id=58741
2016-05-19T02:51:20Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/58741/diff?detail_id=41291">diff</a>)</li><li><strong>Backport</strong> changed from <i>2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN</i> to <i>2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED</i></li></ul>
Ruby master - Bug #12394: Regexp#match? should strictly return true or false
https://bugs.ruby-lang.org/issues/12394?journal_id=58742
2016-05-19T03:10:18Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Applied in changeset r55069.</p>
<hr>
<p>re.c: fix match?</p>
<ul>
<li>re.c (rb_reg_match_m_p): fix match against empty string.<br>
rb_str_offset returns the end when the position exceeds the<br>
length. fix the range parameter of onig_search.<br>
<a href="/issues/12394">[ruby-core:75604]</a> [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Regexp#match? should strictly return true or false (Closed)" href="https://bugs.ruby-lang.org/issues/12394">#12394</a>]</li>
</ul>