From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [edk2-devel] How to add ignore "IgnoreFiles" for CharEncodingCheck To: Zhang, Shenglei ,devel@edk2.groups.io From: "Sean" X-Originating-Location: Redmond, Washington, US (50.35.74.15) X-Originating-Platform: Windows Chrome 83 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 31 Mar 2020 17:30:13 -0700 References: In-Reply-To: Message-ID: <19871.1585701013175242066@groups.io> Content-Type: multipart/alternative; boundary="1ViRqSNGnNWlR1feFoNh" --1ViRqSNGnNWlR1feFoNh Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tue, Mar 31, 2020 at 08:52 AM, Zhang, Shenglei wrote: >=20 >=20 >=20 > "CharEncodingCheck": { >=20 >=20 >=20 > "IgnoreFiles": > [[(MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/test/testc.c),(= MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/windows/testc.c)] >=20 >=20 >=20 >=20 > } >=20 >=20 This syntax works for me.=C2=A0 The logic isn't very complex as it is just= a case sensitive string match. "CharEncodingCheck": { "IgnoreFiles": ["MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/tes= t/testc.c", "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/windows/= testc.c"] } --1ViRqSNGnNWlR1feFoNh Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tue, Mar 31, 2020 at 08:52 AM, Zhang, Shenglei wrote:

= "CharEncodingCheck": {

= "IgnoreFiles": [[(MdeModulePkg/Universal/RegularExpressionDxe/onigu= ruma/test/testc.c),(MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/w= indows/testc.c)]

= }

This syntax works for me.=C2=A0 The logic isn't very complex as it is = just a case sensitive string match.=C2=A0

"CharEncodingCheck&#= 34;: {
"IgnoreFiles": ["MdeModulePkg/Universal/RegularExpre= ssionDxe/oniguruma/test/testc.c", "MdeModulePkg/Universal/RegularEx= pressionDxe/oniguruma/windows/testc.c"]
} --1ViRqSNGnNWlR1feFoNh--