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

6
LINES

< > BotCompany Repo | #1002186 // tokRegionMatchIC - a specialized matching function (IC = ignore case)

JavaX fragment (include)

1  
static boolean tokRegionMatchIC(L<S> tok, int i, L<S> tokx) {
2  
  for (int j = 0; j*2+1 < l(tokx); j++)
3  
    if (!eqic(get(tok, i+j*2), get(tokx, 1+j*2)))
4  
      ret false;
5  
  ret true;
6  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1002186
Snippet name: tokRegionMatchIC - a specialized matching function (IC = ignore case)
Eternal ID of this version: #1002186/1
Text MD5: a84e948b9718dd9d64bb511b547eae94
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-12-24 00:19:46
Source code size: 187 bytes / 6 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 621 / 840
Referenced in: [show references]