putting regex captures back to how they were, didn't need to move them after all (no outcode)
regex components can be strings