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

Method extractScriptId

jnode-core/src/jnode/robot/ScriptFix.java:123–129  ·  view source on GitHub ↗
(String line)

Source from the content-addressed store, hash-verified

121 }
122
123 static Long extractScriptId(String line){
124 Matcher m = RUN.matcher(line);
125 if (m.matches()) {
126 return Long.valueOf(m.group(1));
127 }
128 return null;
129 }
130
131 static String extractScript(String text){
132 Matcher m = SCRIPT.matcher(text);

Callers 4

testExtractScriptIdMethod · 0.95
processCommandsMethod · 0.95

Calls

no outgoing calls

Tested by 3

testExtractScriptIdMethod · 0.76