handle scientific notation
authorWill Fitzgerald <will.fitzgerald@pobox.com>
Wed, 31 Mar 2010 17:48:59 +0000 (13:48 -0400)
committerWilliam Morgan <wmorgan@masanjin.net>
Thu, 1 Apr 2010 19:33:47 +0000 (15:33 -0400)
commit9472e1e6557eab50584e4dbdc9f40b6708cb781c
treeb40387257d7cdd33f19716b8b12b64b8086f6f32
parentbe0d97f91a52cfba5a488d7f5584571d9e1ce277
handle scientific notation

The float option doesn't (yet) handle scientific notation, but it
could with this diff from the current Git repo. It adds an optional
part to the FLOAT_RE, and a test at the end.
lib/trollop.rb
test/test_trollop.rb