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

8
LINES

< > BotCompany Repo | #1026117 // flexMatchDollarVarsIC_withBrackets_iterate

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

Libraryless. Click here for Pure Java version (4624L/30K).

1  
svoid flexMatchDollarVarsIC_withBrackets_iterate(S pat, S input, VF1<SS> onMatch) {
2  
  new LS vars;
3  
  S starsPat = dollarVarsToStars(pat, vars);
4  
  flexMatchIC_withBrackets_iterate(starsPat, input, voidfunc(Matches m) {
5  
    SS map = matchesToMapUsingVarList_ciMap(m, vars);
6  
    if (map != null) callF(onMatch, map);
7  
  });
8  
}

Author comment

Began life as a copy of #1023854

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: #1026117
Snippet name: flexMatchDollarVarsIC_withBrackets_iterate
Eternal ID of this version: #1026117/1
Text MD5: 15e2958fe57ee216ea554dfd7eb5d134
Transpilation MD5: 26f01b1e23eddb7346b9bac36d3bd71a
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-25 19:53:16
Source code size: 328 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 111 / 180
Referenced in: [show references]