Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.

My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.


>> require 'benchmark'
=> true
>> include Benchmark
=> Object
>> bmbm(100) do |x|
?>     x.report('Check every char is number') do
?>       !!"this is just a test".match(/\A[0-9]+\Z/)
>>     end
>>   x.report('Check it does not contain word characters') do
?>       !"this is just a test".match(/[^0-9]/)
>>     end
>>   end
Rehearsal ---------------------------------------------------------------------------------------------------------------------------------------
Check every char is number                                                                            0.000000   0.000000   0.000000 (  0.000023)
Check it does not contain word characters                                                             0.000000   0.000000   0.000000 (  0.000011)
------------------------------------------------------------------------------------------------------------------------------ total: 0.000000sec

                                                                                                          user     system      total        real
Check every char is number                                                                            0.000000   0.000000   0.000000 (  0.001136)
Check it does not contain word characters                                                             0.000000   0.000000   0.000000 (  0.000067)