[#68845] [Ruby trunk - Feature #11056] [PATCH] lib/net/*: use io/wait methods instead of IO.select — normalperson@...
Issue #11056 has been updated by Eric Wong.
3 messages
2015/04/11
[#68945] [Ruby trunk - Feature #11083] [Open] Gemify net-telnet — shibata.hiroshi@...
Issue #11083 has been reported by Hiroshi SHIBATA.
4 messages
2015/04/21
[#68951] Re: [Ruby trunk - Feature #11083] [Open] Gemify net-telnet
— Eric Wong <normalperson@...>
2015/04/21
[email protected] wrote:
[#69012] [Ruby trunk - Feature #11105] [Open] ES6-like hash literals — shugo@...
Issue #11105 has been reported by Shugo Maeda.
5 messages
2015/04/29
[ruby-core:68997] [Ruby trunk - Feature #11100] [Open] Permit multiple captures with String[Regexp, ...]
From:
0x0dea+rubylang@...
Date:
2015-04-27 07:04:37 UTC
List:
ruby-core #68997
Issue #11100 has been reported by D.E. Akers. ---------------------------------------- Feature #11100: Permit multiple captures with String[Regexp, ...] https://bugs.ruby-lang.org/issues/11100 * Author: D.E. Akers * Status: Open * Priority: Low * Assignee: ---------------------------------------- I propose that if we are able to conveniently grab one capture with this method, we ought to be able to grab more than one. Still, there are some caveats worth considering: * It should return an array, but every other `#[]` variant returns a string or `nil`. * Should the argument be an array, or should the method be variadic? - Array argument looks a little "noisy"? `'123abc'[/(\d+)(\w+)/, [2, 1]]` - Variadic method requires intrusive modification of internal calls to `rb_str_subpat()`. * Complementary `#[]=` would be crpytic, overly complex, and likely go unused, but not adding it would break the symmetry. I realize this is essentially an outline of why not to implement this feature, but I figured I'd toss it out there for feedback. Thoughts? ---Files-------------------------------- string_slice_many_captures.patch (906 Bytes) -- https://bugs.ruby-lang.org/