backreferenceFix regex, for loop