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

6
LINES

< > BotCompany Repo | #1027419 // hasLineMatching

JavaX fragment (include)

sbool hasLineMatching(S pat, S text) {
  for (S line : linesIterator(text))
    if (match(pat, line))
      true;
  false;
}

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: #1027419
Snippet name: hasLineMatching
Eternal ID of this version: #1027419/1
Text MD5: cb171744429950d5475f3bb9a1e98204
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-18 17:06:53
Source code size: 129 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 174 / 199
Referenced in: [show references]