From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6446D1A1DF7 for ; Mon, 17 Oct 2016 17:53:23 -0700 (PDT) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP; 17 Oct 2016 17:53:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,359,1473145200"; d="scan'208";a="21023529" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga004.jf.intel.com with ESMTP; 17 Oct 2016 17:53:22 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 17 Oct 2016 17:53:22 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 17 Oct 2016 17:53:21 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.139]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.96]) with mapi id 14.03.0248.002; Tue, 18 Oct 2016 08:53:18 +0800 From: "Zhu, Yonghong" To: "Justen, Jordan L" , "edk2-devel@lists.01.org" CC: "Gao, Liming" , "Zhu, Yonghong" Thread-Topic: [Patch 2/3] BaseTools: Update PatchCheck to handle the two [] as prefix Thread-Index: AQHSKJZO3vlnDSvh8UmDZVrCXJbjuaCtYq6g Date: Tue, 18 Oct 2016 00:53:18 +0000 Message-ID: References: <1476692918-10716-1-git-send-email-yonghong.zhu@intel.com> <1476692918-10716-3-git-send-email-yonghong.zhu@intel.com> <147672291414.943.6276903307446370586@jljusten-ivb> In-Reply-To: <147672291414.943.6276903307446370586@jljusten-ivb> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch 2/3] BaseTools: Update PatchCheck to handle the two [] as prefix X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2016 00:53:23 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhhbmtzIGZvciB0aGUgY29tbWVudCwgd2hlbiBJIHB1c2ggdGhlIHBhdGNoIEkgd2lsbCBkbyB0 aGUgdXBkYXRlLg0KDQpCZXN0IFJlZ2FyZHMsDQpaaHUgWW9uZ2hvbmcNCg0KDQotLS0tLU9yaWdp bmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogSnVzdGVuLCBKb3JkYW4gTCANClNlbnQ6IFR1ZXNkYXks IE9jdG9iZXIgMTgsIDIwMTYgMTI6NDkgQU0NClRvOiBaaHUsIFlvbmdob25nIDx5b25naG9uZy56 aHVAaW50ZWwuY29tPjsgZWRrMi1kZXZlbEBsaXN0cy4wMS5vcmcNCkNjOiBHYW8sIExpbWluZyA8 bGltaW5nLmdhb0BpbnRlbC5jb20+DQpTdWJqZWN0OiBSZTogW1BhdGNoIDIvM10gQmFzZVRvb2xz OiBVcGRhdGUgUGF0Y2hDaGVjayB0byBoYW5kbGUgdGhlIHR3byBbXSBhcyBwcmVmaXgNCg0KQSBz bWFsbCAobm90IHRvbyBpbXBvcnRhbnQpIHN1Z2dlc3Rpb24gZm9yIHRoZSBwYXRjaCBzdWJqZWN0 IG1pZ2h0IGJlOg0KDQpCYXNlVG9vbHMvUGF0Y2hDaGVjay5weTogVXBkYXRlIHRvIGhhbmRsZSB0 aGUgdHdvIFtdIGFzIHByZWZpeA0KDQpPbiAyMDE2LTEwLTE3IDAxOjI4OjM3LCBZb25naG9uZyBa aHUgd3JvdGU6DQ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LTQzNCwxMCArNDM0LDE4IEBAIGNsYXNzIENoZWNrT25lUGF0Y2g6DQo+ICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBbXHNcU1xyXG5dKw0KPiAgICAgICAgICAgICAgICAgICAgICAgICAp DQo+ICAgICAgICAgICAgICAgICAgICAgJycnLA0KPiAgICAgICAgICAgICAgICAgICAgIHJlLklH Tk9SRUNBU0UgfCByZS5WRVJCT1NFIHwgcmUuTVVMVElMSU5FKQ0KPiAgDQo+ICsgICAgc3ViamVj dF9wcmVmaXhfcmUgPSBcDQo+ICsgICAgICAgIHJlLmNvbXBpbGUocicnJ14NCj4gKyAgICAgICAg ICAgICAgICAgICAgICAgXHMqIChcWw0KPiArICAgICAgICAgICAgICAgICAgICAgICAgW15cW1xd XSogIyBBbGxvdyBhbGwgbm9uLWJyYWNrZXRzDQo+ICsgICAgICAgICAgICAgICAgICAgICAgIFxd KSogXHMqDQo+ICsgICAgICAgICAgICAgICAgICAgJycnLA0KPiArICAgICAgICAgICAgICAgICAg IHJlLlZFUkJPU0UpDQo+ICsNCj4gICAgICBkZWYgZmluZF9wYXRjaF9waWVjZXMoc2VsZik6DQo+ ICAgICAgICAgIGlmIHN5cy52ZXJzaW9uX2luZm8gPCAoMywgMCk6DQo+ICAgICAgICAgICAgICBw YXRjaCA9IHNlbGYucGF0Y2guZW5jb2RlKCdhc2NpaScsICdpZ25vcmUnKQ0KPiAgICAgICAgICBl bHNlOg0KPiAgICAgICAgICAgICAgcGF0Y2ggPSBzZWxmLnBhdGNoDQo+IEBAIC00NzAsMTggKzQ3 OCwxMSBAQCBjbGFzcyBDaGVja09uZVBhdGNoOg0KPiAgICAgICAgICAgICAgc2VsZi5zdGF0ID0g bW8uZ3JvdXAoJ3N0YXQnKQ0KPiAgICAgICAgICAgICAgc2VsZi5jb21taXRfbXNnID0gbW8uZ3Jv dXAoJ2NvbW1pdF9tZXNzYWdlJykNCj4gIA0KPiAgICAgICAgICBzZWxmLmNvbW1pdF9zdWJqZ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