Making the hex scrubbing more flexible for when pointers round weirdly
parent
fc63087b8f
commit
0f7f8acefa
|
|
@ -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')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue