BaseTools: use new shared GUID regular expressions
remove local variables that are GUID matching and replace with shared expression. Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@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:
committed by
Yonghong Zhu
parent
709c9fd56b
commit
b1a9e404d4
@ -1136,7 +1136,7 @@ class FdfParser:
|
||||
|
||||
if not self.__GetNextToken():
|
||||
return False
|
||||
if RangeExpression.RegGuidPattern.match(self.__Token) != None:
|
||||
if gGuidPattern.match(self.__Token) != None:
|
||||
return True
|
||||
else:
|
||||
self.__UndoToken()
|
||||
|
Reference in New Issue
Block a user