Bash Script Regex Match