General

Profile

ronald.petty (Ronald Petty)

Issues

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

Activity

09/30/2015

04:10 AM Ruby Bug #11557 (Closed): Capturing Limits
Ruby 2.2
In IRB and via normal ruby file.rb, you can create unexpected behavior via capture groups.
Via IRB
~~~
"asdf".match(/(.)/)
$1
=> "a"
$2000000
=> nil
$2000000000000000
RangeError: integer 2467954688 too big to...
ronald.petty (Ronald Petty)

Also available in: Atom