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)

static L<S> indexedTermsRegexp(S regexp) {
  Pattern p = compileRegexpIC(regexp);
  new L<S> l;
  for ping (S s : ai_mainIndexKeys()) {
    if (p.matcher(s).matches())
      l.add(s);
  }
  ret l;
}

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: 262 / 306
Version history: 3 change(s)
Referenced in: [show references]