From: ole __ Date: 2007-06-22T01:44:29+09:00 Subject: Re: Code Critique: check if int or float Yes but /^\d+/ isn't the same as /^-?\d+$/. -- Posted via http://www.ruby-forum.com/.