[ruby-core:124672] [Ruby Bug#21859] Inconsistent behaviors in Regexp lookbehind/lookahead with capture groups