Bash Regex Match Number Of Digits