def parse(region_string):
rp = RegionParser()<EOL>ss = rp.parse(region_string)<EOL>sss1 = rp.convert_attr(ss)<EOL>sss2 = _check_wcs(sss1)<EOL>shape_list, comment_list = rp.filter_shape2(sss2)<EOL>return ShapeList(shape_list, comment_list=comment_list)<EOL>
Parse DS9 region string into a ShapeList.

    Parameters
    ----------
    region_string : str
        Region string

    Returns
    -------
    shapes : `ShapeList`
        List of `~pyregion.Shape`