General

Profile

scivola20 (sciv ola)

  • Login: scivola20
  • Registered on: 06/25/2020
  • Last sign in: 06/05/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 1 2

Activity

01/29/2021

03:52 AM Ruby Bug #17589 (Closed): Pathname#each_line with chomp option raises TypeError
With Ruby 3.0,
```rb
require "pathname"
Pathname(__FILE__).each_line(chomp: true){ }
```
causes
> no implicit conversion of Hash into Integer (TypeError)
In case of Ruby 2.7.2, it does not raise but diplay:
> ...
scivola20 (sciv ola)

10/28/2020

10:43 PM Ruby Feature #17206: Introduce new Regexp option to avoid global MatchData allocations
Sorry. “a huge amount of String garbage” is my misunderstanding.
But I don’t know under what situation this option may cause a bug.
scivola20 (sciv ola)

10/24/2020

01:34 AM Ruby Feature #17206: Introduce new Regexp option to avoid global MatchData allocations
I believe that people who can use `match?` and `match` methods properly, can use this new Regexp option properly.
By the way, the total size of ``$` ``, `$&`, `$'` equals to the size of the target string. Therefore a huge amount of St...
scivola20 (sciv ola)

07/21/2020

11:27 AM Ruby Bug #17030: Enumerable#grep{_v} should be optimized for Regexp
I have an idea to solve it without any compatibility problem.
[1] Introduce such a Regexp object that `===` method is same as `match?`.
[2] Introduce regexp literal option that makes the Regexp object as [1].
If the option is `'f'...
scivola20 (sciv ola)

06/27/2020

09:26 PM Ruby Bug #16997 (Open): IO#gets converts some \r\n to \n with universal_newline: false
Reproduction code:
```
IO.binwrite "t.csv", ("a" * 100 + "\r\n") * 100
File.open("t.csv", encoding: "BOM|UTF-8", universal_newline: false) do |input|
p input.gets(nil, 32 * 1024) # => "a...a\n...\na...a\r\n...\r\n"
end
```
It ...
scivola20 (sciv ola)

Also available in: Atom