0
テンプレートから文字列を取得する方法はありますか? 私は例えばテンプレートによるテキストからのデータの解析
def template = "${person} came up with the idea to collect ${item}."
def text = "Peter came up with the idea to collect coins."
を意味する。そしてPeter
とcoins
を取得しますか?
どのようにテンプレートとテキストを接続しますか?テキストからデータを抽出する必要があります(テンプレートではなく、それによって)。 – lapots