making regular expression in search() case-insensitive
#35 check if the value is a float