Slight modification to wildcard snippets