import re


def process_dynamic_value(line):
    """ Cheks if the current line has an assignment
        in the form of variable = ${some.value}

    Arguments:
        line {string} -- the line to be checked for the dynamic assignment

    Returns:
        dynamic_value -- matched text from line.
                         If there is no match, it returns nothing

    """
    dynamic_vaue = re.search(r"['\"`]?\$[{|(] ?.* ?[}|)]['\"`]?", line.rstrip())
    if dynamic_vaue:
        return dynamic_vaue.group()