Fix wrong location problem in heregex interpolation