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

7
LINES

< > BotCompany Repo | #1027466 // countStringsContainingRegexpIC

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2430L/15K).

static int countStringsContainingRegexpIC(S regexp, Iterable<S> l) {
  int n = 0;
  if (l != null) for (S s : l)
    if (regexpFindIC(regexp, s))
      ++n;
  ret n;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027466
Snippet name: countStringsContainingRegexpIC
Eternal ID of this version: #1027466/1
Text MD5: 9f67524640bfb107f82e6279df5cef20
Transpilation MD5: 5e6c4ae9af272f738bc8f0e5768ca8e0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-22 13:17:03
Source code size: 173 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 106 / 170
Referenced in: [show references]