Adjust regular expression for float property detection and add explanation for it.