Split the source again for each match, since it will be modified later.