'Search for all matches with current paterns agains input_string
:param matches: matches list
:type matches: Matches
:param context: context to use
:type context: dict
:return:
:rtype:'

def _matches_patterns(self, matches, context):

    if (not self.disabled(context)):
        patterns = self.effective_patterns(context)
        for pattern in patterns:
            if (not pattern.disabled(context)):
                pattern_matches = pattern.matches(matches.input_string, context)
                if pattern_matches:
                    log(pattern.log_level, 'Pattern    has    %s    match(es).    (%s)', len(pattern_matches), pattern)
                else:
                    pass
                for match in pattern_matches:
                    if match.marker:
                        log(pattern.log_level, 'Marker    found.    (%s)', match)
                        matches.markers.append(match)
                    else:
                        log(pattern.log_level, 'Match    found.    (%s)', match)
                        matches.append(match)
            else:
                log(pattern.log_level, 'Pattern    is    disabled.    (%s)', pattern)
