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

8
LINES

< > BotCompany Repo | #1023854 // flexMatchDollarVarsIC_iterate

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

Libraryless. Click here for Pure Java version (3912L/26K).

svoid flexMatchDollarVarsIC_iterate(S pat, S input, VF1<SS> onMatch) {
  new LS vars;
  S starsPat = dollarVarsToStars(pat, vars);
  flexMatchIC_iterate(starsPat, input, voidfunc(Matches m) {
    SS map = matchesToMapUsingVarList_ciMap(m, vars);
    if (map != null) callF(onMatch, map);
  });
}

Author comment

Began life as a copy of #1023853

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: #1023854
Snippet name: flexMatchDollarVarsIC_iterate
Eternal ID of this version: #1023854/7
Text MD5: b36198b9d8c7d1e734faf0fbf89d654e
Transpilation MD5: 3148c3dec751c856e02049b7268362a5
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-10 17:21:18
Source code size: 302 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 281 / 375
Version history: 6 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1024305 - flexMatchDollarVarsIC_first
#1026111 - flexMatchDollarVarsIC_iterator
#1026117 - flexMatchDollarVarsIC_withBrackets_iterate
#1030737 - flexMatchAngleBracketVarsIC_iterate