zechris (Chris Ottrey)
- Login: zechris
- Registered on: 07/19/2020
- Last sign in: 09/12/2022
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 0 | 1 |
Activity
07/19/2020
-
02:21 PM Ruby Feature #17036 (Open): Regexp deconstruction keys to allow pattern matching
- This is to allow Regexp matches in Ruby 2.7's new experimental Pattern Matching.
eg.
```ruby
case /(?<a>.)(?<b>.)/.match("xy")
in a: "x", b:
"a was 'x' and b was matched to #{b.inspect}"
end
#=> "a was 'x' and b wa...