rename function resolveRegexExp

rename resolveRegexExp to resolveRegex