Actions
Bug #9902
closedRegexp#[] ignores after NUL byte in named capture index
Bug #9902:
Regexp#[] ignores after NUL byte in named capture index
Actions
Added by nobu (Nobuyoshi Nakada) over 12 years ago. Updated about 12 years ago.
Applied in changeset r46344.
re.c: fix name with NUL
rb_sym2str() doesn't exist in 2.1. Can I use rb_sym_to_s() instead?
Yes, or rb_id2str(SYM2ID(idx)).
backported into ruby_2_1 branch at r46869.
backported into ruby_2_0_0 at r47334.