Searched defs:gHexNumberPattern (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Trim/
H A DTrim.py43 # as the pattern is greedily match, so it is ok for the gDecNumberPattern or gHexNumberPattern to grab the maximum match
46 gHexNumberPattern = re.compile("(?<=[^a-zA-Z0-9_])(0[xX])([0-9a-fA-F]+)(U(?=$|[^a-zA-Z0-9_]))?") variable
181 Line = gHexNumberPattern.sub(r"0\2h", Line)
183 Line = gHexNumberPattern.sub(r"\1\2", Line)

Completed in 871 milliseconds