public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH v1 0/1] Fix raw strings containing valid escape characters
@ 2023-12-28 16:47 Joey Vagedes via groups.io
  2023-12-28 16:47 ` [edk2-devel] [PATCH v1 1/1] BaseTools: " Joey Vagedes via groups.io
  0 siblings, 1 reply; 12+ messages in thread
From: Joey Vagedes via groups.io @ 2023-12-28 16:47 UTC (permalink / raw)
  To: devel; +Cc: Rebecca Cran, Liming Gao, Bob Feng, Yuwei Chen

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 <rebecca@bsdio.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Yuwei Chen <yuwei.chen@intel.com>

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]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-01-10 18:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-28 16:47 [edk2-devel] [PATCH v1 0/1] Fix raw strings containing valid escape characters Joey Vagedes via groups.io
2023-12-28 16:47 ` [edk2-devel] [PATCH v1 1/1] BaseTools: " Joey Vagedes via groups.io
2024-01-08  1:15   ` Yuwei Chen
     [not found]   ` <17A83A4D186CC8F7.1387@groups.io>
2024-01-08  5:37     ` Yuwei Chen
2024-01-08  6:06       ` Ni, Ray
2024-01-08 13:25       ` 回复: " gaoliming via groups.io
2024-01-08 13:59         ` Huang, Yanbo
2024-01-08 15:08           ` Joey Vagedes via groups.io
2024-01-09  2:01             ` 回复: " gaoliming via groups.io
2024-01-09  8:14               ` Yuwei Chen
2024-01-10  6:52                 ` Huang, Yanbo
2024-01-10 18:34                   ` Rebecca Cran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox