Using str argument does not allow str arguments to start with 1. The regex for str is does not validate for strings list 1.1, 1.10, 1.something