parse -e requirements correctly