From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 93E9F74003B for ; Thu, 28 Dec 2023 16:47:55 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=o/98h7CTAzKk0AQNwsc/7h804/NT0r2Bx8PUEwUTz2E=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1703782074; v=1; b=GAnheuDn6O6syiST/p5Q5y8+0m2JpIZPeyhB4fltncsv32mo1mq/mc31QvOy2LuJ7DpNKysY KPDEGWD3kebVFNMVohAdTxf6gLOJxT3zKBpqWG/57pjlS+m00VVpDyJZFvmJ+WNFzAd8JwNZSOB dHw9O3uVyPhsb7O3ZHzKSqpc= X-Received: by 127.0.0.2 with SMTP id QSmkYY7687511xIqbBm9FtUV; Thu, 28 Dec 2023 08:47:54 -0800 X-Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.web11.126679.1703782073651535024 for ; Thu, 28 Dec 2023 08:47:53 -0800 X-Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1d3f2985425so25115105ad.3 for ; Thu, 28 Dec 2023 08:47:53 -0800 (PST) X-Gm-Message-State: PuujfAoajk9vVZJnGhRv8QRTx7686176AA= X-Google-Smtp-Source: AGHT+IEn/qptpLUVS8w8YjYwJ+G3GWS/kM2zl+XUZD+qkwjR0pNOudtBjGpvgiOzB+AskrxrMwkDNQ== X-Received: by 2002:a17:903:2449:b0:1d4:96d2:10a6 with SMTP id l9-20020a170903244900b001d496d210a6mr395452pls.121.1703782072485; Thu, 28 Dec 2023 08:47:52 -0800 (PST) X-Received: from localhost.localdomain (c-174-164-102-13.hsd1.wa.comcast.net. [174.164.102.13]) by smtp.gmail.com with ESMTPSA id x19-20020a170902821300b001d4816958c2sm3479241pln.166.2023.12.28.08.47.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 08:47:52 -0800 (PST) From: "Joey Vagedes via groups.io" To: devel@edk2.groups.io Cc: Rebecca Cran , Liming Gao , Bob Feng , Yuwei Chen Subject: [edk2-devel] [PATCH v1 0/1] Fix raw strings containing valid escape characters Date: Thu, 28 Dec 2023 08:47:38 -0800 Message-ID: <20231228164739.1042-1-joey.vagedes@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,joeyvagedes@microsoft.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=GAnheuDn; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Commit 9f0061a03b61d282fbc0ba5be22155d06a5e64a1 was intended to fix regex strings using invalid escape characters. The regex module suggested way to fix this is to use the raw string modifiler (`r'`). However in doing this, any strings that also contained valid escape characters that were being used in the regex strings (mainly \t and \n) were broken. This is because the raw string modifier converted them from the tab character and newline characters to the literal character components. This patch series updates any of the raw strings that contained valid escape characters to resolve the issue. Cc: Rebecca Cran Cc: Liming Gao Cc: Bob Feng Cc: Yuwei Chen Joey Vagedes (1): BaseTools: Fix raw strings containing valid escape characters BaseTools/Source/Python/AutoGen/GenMake.py | 2 +- BaseTools/Source/Python/Common/Misc.py | 2 +- BaseTools/Source/Python/Workspace/DscBuildData.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) -- 2.43.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112985): https://edk2.groups.io/g/devel/message/112985 Mute This Topic: https://groups.io/mt/103403581/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-