changed regular expression so that tests pass with Devel::PartialDump as well