General

Profile

PeterCamilleri (Peter Camilleri)

Issues

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

Activity

02/13/2016

04:22 PM Ruby Bug #12035: scanf suspicious results.
That is what is so perplexing. The format I used was '%[a] %[b] %[c]'
Please note the explicit spaces between the formant elements. The docs
for scanf state that "White space in the format string matches any
amount of white space"
PeterCamilleri (Peter Camilleri)
03:58 AM Ruby Bug #12035: scanf suspicious results.
I think you're missing the point. Of course %s would seem to work in this case.
My question is about the %\[set\] (and %\[\^set\]) format specifier that is documented as part of scanf.
It also works, but only **once**. That's the rub...
PeterCamilleri (Peter Camilleri)

01/29/2016

06:01 PM Ruby Bug #12035 (Rejected): scanf suspicious results.
The code: 'a b c'.scanf('%[a] %[b] %[c]')
yields the result: ["a"] and not ["a","b","c"] as expected.
So far it seems that when sets of characters are used, only
the first one in the parse specification string actually returns
...
PeterCamilleri (Peter Camilleri)

04/03/2015

02:56 PM Ruby Bug #11031 (Rejected): Segmentation Fault on Gem Uninstall
I launched Ruby 2.1.5p273 and entered 'gem uninstall minitest' enter, then hit 2 to remove v5.5.0 and then... kahboom!!!!
100 % Very very repeatable.
PeterCamilleri (Peter Camilleri)

Also available in: Atom