Updated group parser to support another input style.