fix for interpolating regexes