on 2nd thought, avoid regex and just stick with chained .partition calls