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

9
LINES

< > BotCompany Repo | #1017950 // nlLogic_matchVBarPattern

JavaX fragment (include)

sbool nlLogic_matchVBarPattern(NLLogicChecker_v2 c, S pat, S s, NLLogicChecker_v2.Matching m) {
  ret nlLogic_matchVBarPattern(c, pat, s, m.matches);
}

sbool nlLogic_matchVBarPattern(NLLogicChecker_v2 c, S pat, S s, SS matches) {
  for (S pat2 : tok_splitAtVerticalBar(pat))
    if (c.matcher.match(pat2, s, matches)) true;
  false;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017950
Snippet name: nlLogic_matchVBarPattern
Eternal ID of this version: #1017950/7
Text MD5: 2796635d4c65762ea2ead6782cf4552f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-22 23:57:30
Source code size: 343 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 342 / 395
Version history: 6 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1017951 - tok_splitAtVerticalBar
#1017952 - nlLogic_matchMultiplePatterns
#1019379 - matchVBarPattern