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

6
LINES

< > BotCompany Repo | #1026186 // arbitraryVarsFlexFindIC_iterator_withPreAndPost

JavaX fragment (include)

static ItIt<SS> arbitraryVarsFlexFindIC_iterator_withPreAndPost(Set<S> vars, S pat, S input) {
  LS usedVars = ll("$_pre");
  S starsPat = arbitraryVarsToStars(pat, vars, usedVars);
  usedVars.add("$_post");
  ret mapI(flexMatchIC_iterator("* " + starsPat + " *", input), m -> matchesToMapUsingVarList_ciMap(m, usedVars));
}

Author comment

Began life as a copy of #1026163

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: #1026186
Snippet name: arbitraryVarsFlexFindIC_iterator_withPreAndPost
Eternal ID of this version: #1026186/3
Text MD5: a76f9510d5b3ca59d09ea982a3606f36
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-28 00:21:21
Source code size: 329 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 139 / 171
Version history: 2 change(s)
Referenced in: [show references]