Shell
Difficulty: unrated
Source: bregman-arie/devops-exercises by Arie Bregman
regex='^[0-9]+$' if [[ ${var//*.} =~ $regex ]]; then ...