import re


def get_object_from_line(line, prefix, column):
    """Returns the object name after the prefix

    ``line``   -- Text in the line where cursor is.
    ``prefix`` -- Prefix determined by sublime.
    ``column`` -- Index of the cursor in the line.
    """
    re_str = r'(?:\s)([^\s]+)(?:\.{0})$'.format(prefix)
    match = re.search(re_str, line[:column])
    if match:
        return match.group(1)
    else:
        return None