in reply to Re^2: use of useless void in context
in thread use of useless void in context

Considering the OP is using all his backreferences outside of the pattern itself, I don't see where the OP should use a \1 instead of a $1.