W
Wes Gamble
I am using the form of gsub that takes a block to determine what to
substitute.
My problem is that I can't quite get the regex working, but I will be
able to detect that it matched incorrectly, once I can inspect the
backreferences in the block.
So: if I determine via code in the substitution block that I don't want
to do the substitution, is there a way to simply abandon the gsub call
on that particular iteration?
Wes
substitute.
My problem is that I can't quite get the regex working, but I will be
able to detect that it matched incorrectly, once I can inspect the
backreferences in the block.
So: if I determine via code in the substitution block that I don't want
to do the substitution, is there a way to simply abandon the gsub call
on that particular iteration?
Wes