[#105450] [Ruby master Feature#18228] Add a `timeout` option to `IO.copy_stream` — "byroot (Jean Boussier)" <noreply@...>
Issue #18228 has been reported by byroot (Jean Boussier).
11 messages
2021/09/27
[ruby-core:105204] [Ruby master Bug#18160] IndexError raised from MatchData#{offset, begin, end} does not keep the encoding of the argument
From:
"nobu (Nobuyoshi Nakada)" <noreply@...>
Date:
2021-09-11 12:59:59 UTC
List:
ruby-core #105204
Issue #18160 has been reported by nobu (Nobuyoshi Nakada).
----------------------------------------
Bug #18160: IndexError raised from MatchData#{offset,begin,end} does not keep the encoding of the argument
https://bugs.ruby-lang.org/issues/18160
* Author: nobu (Nobuyoshi Nakada)
* Status: Open
* Priority: Normal
* Backport: 2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED
----------------------------------------
```ruby
m = /.*/.match("foo")
m.offset("\u{3042}") rescue p $!.message
#=> "undefined group name reference: \xE3\x81\x82"
```
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>