s = "if (ProPref.get(\"kcstcli\",\"manageesw\",\"on\").equals(\"on\")) {"
regex = /ProPref\.get\((.*?)\)/
def m = s =~ regex
(0..<m.count).each { print m[it][1] + '\n' }
cyA9ICJpZiAoUHJvUHJlZi5nZXQoXCJrY3N0Y2xpXCIsXCJtYW5hZ2Vlc3dcIixcIm9uXCIpLmVxdWFscyhcIm9uXCIpKSB7IgpyZWdleCA9IC9Qcm9QcmVmXC5nZXRcKCguKj8pXCkvCgpkZWYgbSA9IHMgPX4gcmVnZXgKKDAuLjxtLmNvdW50KS5lYWNoIHsgcHJpbnQgbVtpdF1bMV0gKyAnXG4nIH0=