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

9
LINES

< > BotCompany Repo | #1020730 - matchX_vbar - allows "bla ...|... blubb|etc"

JavaX fragment (include)

static boolean matchX_vbar(S pat, S s) {
  return matchX_vbar(pat, s, null);
}

static boolean matchX_vbar(S pat, S s, Matches matches) {
  for (S pat2 : tok_splitAtVerticalBar(pat))
    if (matchX(pat2, s, matches)) true;
  false;
}

Author comment

Began life as a copy of #1017812

download  show line numbers  debug dex   

Travelled to 6 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz

No comments. add comment

Snippet ID: #1020730
Snippet name: matchX_vbar - allows "bla ...|... blubb|etc"
Eternal ID of this version: #1020730/1
Text MD5: 4e4431fbadea3d9c28f75d0537ebd40f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-01 03:20:20
Source code size: 243 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 104 / 119
Referenced in: [show references]

Formerly at http://tinybrain.de/1020730 & http://1020730.tinybrain.de