General

Profile

jdashton (J Daniel Ashton)

Issues

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

Activity

01/06/2023

02:35 PM Ruby Bug #19316 (Closed): YJIT crash in 3.2.0
When I check out this commit from GitHub, https://github.com/jdashton/aoc2022-ruby/tree/5702dac483cd6e95f7be35bfebaf9d4a654796d8 , and run the following command, `RUBYOPT="-v --yjit" bin/rspec spec/aoc2022/puzzles/unstable_diffusion_spec... jdashton (J Daniel Ashton)

12/19/2021

02:02 AM Ruby Bug #18415 (Closed): String#rpartition is not sufficiently greedy compared to String#partition
``` ruby
3.1.0-preview1 :043 > "...999...".partition /\d+/
=> ["...", "999", "..."]
3.1.0-preview1 :044 > "...999...".rpartition /\d+/
=> ["...99", "9", "..."]
```
Using the regex /\d+/, `partition` gives you all consecutiv...
jdashton (J Daniel Ashton)

Also available in: Atom