fork(4) download
  1. s = "if (ProPref.get(\"kcstcli\",\"manageesw\",\"on\").equals(\"on\")) {"
  2. regex = /ProPref\.get\((.*?)\)/
  3.  
  4. def m = s =~ regex
  5. (0..<m.count).each { print m[it][1] + '\n' }
Success #stdin #stdout 1.48s 332928KB
stdin
Standard input is empty
stdout
"kcstcli","manageesw","on"