public CVParamater(string parameter) { Match m = CvRegex.Match(parameter); if (!m.Success) throw new ArgumentException("Unable to parse this CV Parameter correctly: " + parameter); Label = m.Groups[1].Value.Trim(); Accession = m.Groups[2].Value.Trim(); Name = m.Groups[3].Value.Trim(); Value = m.Groups[4].Value.Trim(); }