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

8
LINES

< > BotCompany Repo | #1017586 // NLStringMatcher_noVars

JavaX fragment (include)

sclass NLStringMatcher_noVars extends StringMatcher {
  // change matches only if returning true
  bool match(S pat, S input, SS matches) {
    ret match3(pat, input);
  }
  
  S apply(S input, SS matches) { ret input; } // This one's easy
}

Author comment

Began life as a copy of #1017585

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017586
Snippet name: NLStringMatcher_noVars
Eternal ID of this version: #1017586/2
Text MD5: 9d32ff27aa5579ae5e06279eacdd0ba9
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-28 12:10:22
Source code size: 248 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 318 / 868
Version history: 1 change(s)
Referenced in: [show references]