projects
/
mirror_edk2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BaseTools: Add new RegExp for future use
[mirror_edk2.git]
/
BaseTools
/
Source
/
Python
/
Common
/
GlobalData.py
diff --git
a/BaseTools/Source/Python/Common/GlobalData.py
b/BaseTools/Source/Python/Common/GlobalData.py
index 3933e86cb9f650e999b967943d43b67113a62e7d..f872066057b74ea1dcc096365891364282eb6af9 100644
(file)
--- a/
BaseTools/Source/Python/Common/GlobalData.py
+++ b/
BaseTools/Source/Python/Common/GlobalData.py
@@
-59,6
+59,8
@@
_GuidPattern = r"{Hex}{{8}}-{Hex}{{4}}-{Hex}{{4}}-{Hex}{{4}}-{Hex}{{12}}".format
gGuidPattern = re.compile(r'{}'.format(_GuidPattern))
\r
gGuidPatternEnd = re.compile(r'{}$'.format(_GuidPattern))
\r
\r
gGuidPattern = re.compile(r'{}'.format(_GuidPattern))
\r
gGuidPatternEnd = re.compile(r'{}$'.format(_GuidPattern))
\r
\r
+g4HexChar = re.compile(r'{}{{4}}'.format(_HexChar))
\r
+
\r
#
\r
# A global variable for whether current build in AutoGen phase or not.
\r
#
\r
#
\r
# A global variable for whether current build in AutoGen phase or not.
\r
#
\r