[edk2-devel] [PATCH v1 0/1] Fix raw strings containing valid escape characters

Joey Vagedes via groups.io posted 1 patch 4 months ago
Failed in applying to current master (apply log)
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(-)
[edk2-devel] [PATCH v1 0/1] Fix raw strings containing valid escape characters
Posted by Joey Vagedes via groups.io 4 months ago
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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-