MCPcopy Create free account
hub / github.com/annmuor/jnode / extractScript

Method extractScript

jnode-core/src/jnode/robot/ScriptFix.java:131–137  ·  view source on GitHub ↗
(String text)

Source from the content-addressed store, hash-verified

129 }
130
131 static String extractScript(String text){
132 Matcher m = SCRIPT.matcher(text);
133 if (m.matches()) {
134 return m.group(1);
135 }
136 return null;
137 }
138
139 private String runScript(long id) {
140 String errMessage = JscriptExecutor.executeScript(id);

Callers 5

testExtractScriptMethod · 0.95
testBadExtractScriptMethod · 0.95
testExtractRealScriptMethod · 0.95
executeMethod · 0.95

Calls

no outgoing calls

Tested by 4

testExtractScriptMethod · 0.76
testBadExtractScriptMethod · 0.76
testExtractRealScriptMethod · 0.76