changed split to use greedy regex to split only on first occurrence of equal sign.