From 0f7f8acefa82baacb56121ca01ec463a2ce10851 Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Tue, 18 Nov 2014 09:48:28 -0500 Subject: [PATCH] Making the hex scrubbing more flexible for when pointers round weirdly --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 181fdb3..7a46480 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -24,7 +24,7 @@ def sample_regression_file(file) end def scrub_hex(str) - str.gsub(/0x\w{7,8}/,'') + str.gsub(/0x\w{1,8}/,'') .gsub(/ptr=.{8}/,'') .gsub(/FontDescription:.{8}/,'FontDescription') .gsub(/Handle:.{8}/,'Handle')