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

6
LINES

< > BotCompany Repo | #1020307 // containsPhrase_vbar

JavaX fragment (include)

1  
static bool containsPhrase_vbar(S s, S phrases) {
2  
  LS tokS = javaTokNPunctuationC(s);
3  
  for (S phrase : tok_splitAtVerticalBar(phrases))
4  
    if (containsSubListIC(tokS, javaTokNPunctuationC(phrase))) true;
5  
  false;
6  
}

Author comment

Began life as a copy of #1020306

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020307
Snippet name: containsPhrase_vbar
Eternal ID of this version: #1020307/1
Text MD5: 04d7337f030ff81ac305e7b9ebdb26e4
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-13 17:30:24
Source code size: 222 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 234 / 268
Referenced in: [show references]