Powershell Regex Match Array Function In Python Exercise