Fix to regular expression, used to require it as a float, can now be an integer.