https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112014-06-04T12:24:06ZRuby Issue Tracking SystemRuby master - Bug #9902: Regexp#[] ignores after NUL byte in named capture indexhttps://bugs.ruby-lang.org/issues/9902?journal_id=470362014-06-04T12:24:06Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset r46344.</p>
<hr>
<p>re.c: fix name with NUL</p>
<ul>
<li>re.c (match_aref): should not ignore name after NUL byte.<br>
<a href="/issues/9902">[ruby-dev:48275]</a> [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Regexp#[] ignores after NUL byte in named capture index (Closed)" href="https://bugs.ruby-lang.org/issues/9902">#9902</a>]</li>
</ul> Ruby master - Bug #9902: Regexp#[] ignores after NUL byte in named capture indexhttps://bugs.ruby-lang.org/issues/9902?journal_id=470372014-06-04T12:43:26Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Backport</strong> changed from <i>2.0.0: UNKNOWN, 2.1: UNKNOWN</i> to <i>2.0.0: REQUIRED, 2.1: REQUIRED</i></li></ul> Ruby master - Bug #9902: Regexp#[] ignores after NUL byte in named capture indexhttps://bugs.ruby-lang.org/issues/9902?journal_id=474532014-06-29T18:13:13Znagachika (Tomoyuki Chikanaga)nagachika00@gmail.com
<ul></ul><p>rb_sym2str() doesn't exist in 2.1. Can I use rb_sym_to_s() instead?</p> Ruby master - Bug #9902: Regexp#[] ignores after NUL byte in named capture indexhttps://bugs.ruby-lang.org/issues/9902?journal_id=474632014-06-30T07:00:16Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul></ul><p>Yes, or <code>rb_id2str(SYM2ID(idx))</code>.</p> Ruby master - Bug #9902: Regexp#[] ignores after NUL byte in named capture indexhttps://bugs.ruby-lang.org/issues/9902?journal_id=478672014-07-18T17:16:29Znagachika (Tomoyuki Chikanaga)nagachika00@gmail.com
<ul><li><strong>Backport</strong> changed from <i>2.0.0: REQUIRED, 2.1: REQUIRED</i> to <i>2.0.0: REQUIRED, 2.1: DONE</i></li></ul><p>backported into <code>ruby_2_1</code> branch at r46869.</p> Ruby master - Bug #9902: Regexp#[] ignores after NUL byte in named capture indexhttps://bugs.ruby-lang.org/issues/9902?journal_id=485832014-08-31T07:19:26Zusa (Usaku NAKAMURA)usa@garbagecollect.jp
<ul><li><strong>Backport</strong> changed from <i>2.0.0: REQUIRED, 2.1: DONE</i> to <i>2.0.0: DONE, 2.1: DONE</i></li></ul><p>backported into <code>ruby_2_0_0</code> at r47334.</p>