// returns: (matcher, matcher.find()) static Pair dm_regexpIC_central(S regexp, S input, O... _) { optPar long timeout = 60000; new Var> result; dm_call(dm_requireRegexpMatcher(), 'addJob, dm_moduleID(), regexp, input, true, voidfunc(Matcher m, bool b) { result.set(pair(m, b)) }); ret waitForVarToBeNotNullWithTimeout(result, timeout); }