import re


def parse_screen_properties_to_resolution_and_position(resolutions):
    """
    Parse a list of resolutions of the format ####x####+####+#### into width, height, x_position, y_position
    :param resolutions: A list of resolutions in the form ####x####+####+####
    :return: A list of dictionaries of the form {'width': #, 'height': #, 'x_pos': #, 'y_pos': #}
    """

    parsed_resolutions = []
    num_pattern = re.compile("[0-9]+")


    for res in resolutions:
        d = {}
        width, more = res.split('x')

        d["width"] = int(width)
        split = more.split('+')

        d["height"] = int(split[0])
        d["x_pos"] = int(split[1])
        d["y_pos"] = int(split[2])

        parsed_resolutions.append(d)

    return parsed_resolutions