Python Regex Split String Into Array In C