Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1024009 // dm_regexpIC_central

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2324L/15K).

// returns: (matcher, matcher.find())
static Pair<Matcher, Bool> dm_regexpIC_central(S regexp, S input, O... _) {
  optPar long timeout = 60000;
  
  new Var<Pair<Matcher, Bool>> 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);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024009
Snippet name: dm_regexpIC_central
Eternal ID of this version: #1024009/6
Text MD5: 836c5b62994098a3fdad25185cb9cf84
Transpilation MD5: d5e378fb3f28ca34b7709a1bf5935576
Author: stefan
Category: javax / modules
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-16 00:53:30
Source code size: 391 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 216 / 331
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)