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

9
LINES

< > BotCompany Repo | #1017952 // nlLogic_matchMultiplePatterns

JavaX fragment (include)

sbool nlLogic_matchMultiplePatterns(NLLogicChecker_v2 c, LS patterns, S s, NLLogicChecker_v2.Matching m) {
  ret nlLogic_matchMultiplePatterns(c, patterns, s, m.matches);
}

sbool nlLogic_matchMultiplePatterns(NLLogicChecker_v2 c, LS patterns, S s, SS matches) {
  for (S pat : unnull(patterns))
    if (c.matcher.match(pat, s, matches)) true;
  false;
}

Author comment

Began life as a copy of #1017950

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: #1017952
Snippet name: nlLogic_matchMultiplePatterns
Eternal ID of this version: #1017952/5
Text MD5: 0ee1d0d15fa919316909ac5cd7a3ed8f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-23 00:00:53
Source code size: 362 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 318 / 370
Version history: 4 change(s)
Referenced in: [show references]