Libraryless. Click here for Pure Java version (2324L/15K).
1 | // returns: (matcher, matcher.find()) |
2 | static Pair<Matcher, Bool> dm_regexpIC_central(S regexp, S input, O... _) { |
3 | optPar long timeout = 60000; |
4 | |
5 | new Var<Pair<Matcher, Bool>> result; |
6 | dm_call(dm_requireRegexpMatcher(), 'addJob, dm_moduleID(), regexp, input, true, voidfunc(Matcher m, bool b) { result.set(pair(m, b)) }); |
7 | ret waitForVarToBeNotNullWithTimeout(result, timeout); |
8 | } |
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: | 215 / 330 |
Version history: | 5 change(s) |
Referenced in: | [show references] |