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