Regex Check For Empty String In Python