| { |
| "classLoaderSharing" : "workflow", |
| "script" : "List split = new ArrayList();\nif (!string.equals(\"\")) {\n\tString regexString = \",\";\n\tif (regex != void) {\n\t\tregexString = regex;\n\t}\n\tString[] result = string.split(regexString);\n\tfor (int i = 0; i < result.length; i++) {\n\t\tsplit.add(result[i]);\n\t}\n}\n", |
| "localworkerName" : "org.embl.ebi.escience.scuflworkers.java.SplitByRegex", |
| "inputPorts" : [ { |
| "name" : "string", |
| "depth" : 0, |
| "type" : "String" |
| }, { |
| "name" : "regex", |
| "depth" : 0, |
| "type" : "String" |
| } ], |
| "outputPorts" : [ { |
| "name" : "split", |
| "depth" : 1, |
| "granularDepth" : 1 |
| } ], |
| "isAltered" : false |
| } |