1 | static boolean matchStart_vbar(S pat, S s) { |
2 | return matchStart_vbar(pat, s, null); |
3 | } |
4 | |
5 | static boolean matchStart_vbar(S pat, S s, Matches matches) { |
6 | for (S pat2 : splitAtTokens(pat, ll("|"))) |
7 | if (matchStart(pat2, s, matches)) true; |
8 | false; |
9 | } |
Began life as a copy of #1017812
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: | #1020293 |
Snippet name: | matchStart_vbar - allows "bla|blubb" |
Eternal ID of this version: | #1020293/1 |
Text MD5: | 1fc238adcca8df167479b103ab6bb06a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-12 23:43:40 |
Source code size: | 259 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 302 / 322 |
Referenced in: | [show references] |