Python Regex Find Substring In Bash