Groovy字符串替换一例
将param替换成paramValue def queryContent = "select * from query where id=${param}"def regex = '\\$\\{param\\}'def matcher = (queryContent =~ /${regex}/)queryContent = matcher.replaceAll('paramValue')...