Only check if the first character is a digit

This is needed to support i3 number+named workspaces like 1:mail