def _match_tags(repex_tags, path_tags):
if '<STR_LIT>' in repex_tags or (not repex_tags and not path_tags):<EOL><INDENT>return True<EOL><DEDENT>elif set(repex_tags) & set(path_tags):<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Check for matching tags between what the user provided
    and the tags set in the config.

    If `any` is chosen, match.
    If no tags are chosen and none are configured, match.
    If the user provided tags match any of the configured tags, match.