def get_group_from_matcher(matcher_obj, string_to_match, group_name):
    """Get value corresponding to group_name if it's present in matcher_obj"""
    matched = matcher_obj.match(string_to_match)
    if matched:
        groups_dictionary = matched.groupdict()
        return groups_dictionary.get(group_name)

    return None