>>329
str.matches("[01]+")