create parser for item indexes with commas and dashes (look at parsec)