def METHOD_NAME(self, pattern='*'):
    """Emulate keys."""
    import fnmatch
    import re
    # Make regex out of glob styled pattern.
    regex = fnmatch.translate(pattern)
    regex = re.compile(regex)
    # Find every key that matches the pattern
    return [key for key in self.redis if regex.match(key)]