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

9
LINES

< > BotCompany Repo | #1012522 // indexedTermsRegexp - ignores case, only looks at shortened terms

JavaX fragment (include)

1  
static L<S> indexedTermsRegexp(S regexp) {
2  
  Pattern p = compileRegexpIC(regexp);
3  
  new L<S> l;
4  
  for ping (S s : ai_mainIndexKeys()) {
5  
    if (p.matcher(s).matches())
6  
      l.add(s);
7  
  }
8  
  ret l;
9  
}

Author comment

Began life as a copy of #1012382

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: #1012522
Snippet name: indexedTermsRegexp - ignores case, only looks at shortened terms
Eternal ID of this version: #1012522/4
Text MD5: 3bb8a73c980df5775a8b79efa39bf85e
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-26 06:22:28
Source code size: 206 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 267 / 311
Version history: 3 change(s)
Referenced in: [show references]