Actions
Bug #10877
closedString#sub causes segfault
Description
str = 'abc'
reg = /(?<foo>a)bc/
str =~ reg
$~['foo'].sub 'a', ''
$~['foo']
tmp.rb:5: [BUG] Segmentation fault at 0x00000000000020
Abort trap: 6
Files
Actions
Like0
Like0Like0Like0