Making the hex scrubbing more flexible for when pointers round weirdly
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ def sample_regression_file(file)
|
|||||||
end
|
end
|
||||||
|
|
||||||
def scrub_hex(str)
|
def scrub_hex(str)
|
||||||
str.gsub(/0x\w{7,8}/,'')
|
str.gsub(/0x\w{1,8}/,'')
|
||||||
.gsub(/ptr=.{8}/,'')
|
.gsub(/ptr=.{8}/,'')
|
||||||
.gsub(/FontDescription:.{8}/,'FontDescription')
|
.gsub(/FontDescription:.{8}/,'FontDescription')
|
||||||
.gsub(/Handle:.{8}/,'Handle')
|
.gsub(/Handle:.{8}/,'Handle')
|
||||||
|
|||||||
Reference in New Issue
Block a user