Closed GoogleCodeExporter closed 8 years ago
Testcase: 'a' =~ /(a)|(b)/ puts $~.to_a[2].inspect 'a' =~ /(a)(b)?/ puts $~.to_a[2].inspect Expected: nil nil Actual: "" "" First reported by Seo Sanghyeon in #ruby.net.
Original issue reported on code.google.com by sason...@gmail.com on 12 Sep 2007 at 12:18
sason...@gmail.com
Fix attached.
Original comment by sason...@gmail.com on 12 Sep 2007 at 12:29
Attachments:
Fixed in r93.
Original comment by sason...@gmail.com on 15 Sep 2007 at 1:03
Original issue reported on code.google.com by
sason...@gmail.com
on 12 Sep 2007 at 12:18