':param ref: A URL instance to match against the user configured filters
:return: True if we should navigate to this URL'

def _should_analyze_url(self, ref):

    if (ref.get_domain() != self._target_domain):
        return False
    urlstr = ref.url_string
    if ((not self._compiled_follow_re.match(urlstr)) or self._compiled_ignore_re.match(urlstr)):
        return False
    if self._only_forward:
        if (not self._is_forward(ref)):
            return False
    return True
