Groovy: Variable Substitution in dynamic Strings
dynamic.replaceAll(/\$\{(\w+)\}/) { m, k -> map[k] }
You would normally do this with Groovy Templates.
dynamic.replaceAll(/\$\{(\w+)\}/) { m, k -> map[k] }
You would normally do this with Groovy Templates.