fixed: quote marks in regex validation error msg were not being htmlspecialchar\d
changed: parsemessageforplaceholder() - when we perform the data replacement, we were merging in join data in precendence of any explicility set value. this meant that the calculation element when in a repeat group would use all repeat group values as a replacement