def get_valid_mentioned_users_guids(comment, contributors):
 new_mentions = set(re.findall('\\[[@|\\+].*?\\]\\(htt[ps]{1,2}:\\/\\/[a-z\\d:.]+?\\/([a-z\\d]{5})\\/\\)', comment.content))
 new_mentions = [m for m in new_mentions if ((m not in comment.ever_mentioned) and validate_contributor(m, contributors))]
 return new_mentions

def get_valid_mentioned_users_guids ( comment , contributors ) : new_mentions = set ( re . findall ( '\\[[@|\\+].*?\\]\\(htt[ps]{1,2}:\\/\\/[a-z\\d:.]+?\\/([a-z\\d]{5})\\/\\)' , comment . content ) ) new_mentions = [ m for m in new_mentions if ( ( m not in comment . ever_mentioned ) and validate_contributor ( m , contributors ) ) ] return new_mentions
get a list of valid users that are mentioned in the comment content .