Making the hex scrubbing more flexible for when pointers round weirdly

dev
Andy Meneely 2014-11-18 09:48:28 -05:00
parent fc63087b8f
commit 0f7f8acefa
1 changed files with 1 additions and 1 deletions

View File

@ -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')