Reformat sub pattern capture example