mirror of https://github.com/acidanthera/audk.git
BaseTools: Add new RegEx pattern to GlobalData
Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
parent
ffe720c53e
commit
7da06eeede
|
@ -63,6 +63,9 @@ gGuidPatternEnd = re.compile(r'{}$'.format(_GuidPattern))
|
|||
g4HexChar = re.compile(r'{}{{4}}'.format(_HexChar))
|
||||
gHexPattern = re.compile(r'0[xX]{}+'.format(_HexChar))
|
||||
|
||||
## Regular expressions for string identifier checking
|
||||
gIdentifierPattern = re.compile('^[a-zA-Z][a-zA-Z0-9_]*$', re.UNICODE)
|
||||
|
||||
#
|
||||
# A global variable for whether current build in AutoGen phase or not.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue