summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/UPT/Library/Parsing.py
diff options
context:
space:
mode:
authorCarsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben>2018-03-27 08:33:08 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-03-29 16:33:55 +0800
commitcc0321f22ac7422a2d477c98fed209547eaf0cb5 (patch)
tree5368cd09643879d78d111ae14660fc25d976dd3b /BaseTools/Source/Python/UPT/Library/Parsing.py
parente52aed0d855218f23cbd94629561eb4155936cec (diff)
downloadedk2-cc0321f22ac7422a2d477c98fed209547eaf0cb5.tar.gz
edk2-cc0321f22ac7422a2d477c98fed209547eaf0cb5.tar.bz2
edk2-cc0321f22ac7422a2d477c98fed209547eaf0cb5.zip
BaseTools: refactor repeated RegExp when no special searching is needed.
use str.replace and try/except. 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>
Diffstat (limited to 'BaseTools/Source/Python/UPT/Library/Parsing.py')
0 files changed, 0 insertions, 0 deletions