'Return True if any of the entry string fields match given regexp'

def matches(self, entry, regexp):

    for (field, value) in entry.items():
        if (not isinstance(value, basestring)):
            continue
        if re.search(regexp, value, (re.IGNORECASE | re.UNICODE)):
            return (True, field)
    return (False, None)
