Dictionary lookup with a regular expression. Return pairs whose key 
        matches pattern.

def relookup(self, pattern):
        """ Dictionary lookup with a regular expression. Return pairs whose key 
        matches pattern.
        """
        key = re.compile(pattern)
        return filter(lambda x : key.match(x[0]), self.data.items())