Bash Script Check If String Matches Regex