def parse_huawei(command): result = Match.huawei(command) account_id = result.group(u'haccount_id') task = HuaWeiTask(account_id) return task