Powershell Regex Match Array Function In Python