B
Ben Bullock
This question is about substitutions like
s/XYZ/ABC/;
Is there a variable which contains the right hand part (ABC) of the most
recent substitution? I have a series of complex substitutions as part of a
while ( .. ) statement, and I would like to be able to use the right hand
part of the most recent match, but I'm not sure whether there is a simple
way to do this. Thanks for any help.
s/XYZ/ABC/;
Is there a variable which contains the right hand part (ABC) of the most
recent substitution? I have a series of complex substitutions as part of a
while ( .. ) statement, and I would like to be able to use the right hand
part of the most recent match, but I'm not sure whether there is a simple
way to do this. Thanks for any help.