1 | sbool jmatch_any(S pat, Iterable<S> l) {
|
2 | ret jmatch_any(pat, l, null); |
3 | } |
4 | |
5 | sbool jmatch_any(S pat, Iterable<S> l, Matches m) {
|
6 | for (S s : unnull(l)) |
7 | if (jmatch(pat, s, m)) |
8 | true; |
9 | false; |
10 | } |
11 | |
12 | sbool jmatch_any(LS patterns, Iterable<S> l, Matches m) {
|
13 | if (nempty(patterns)) |
14 | for (S s : unnull(l)) |
15 | for (S pat : patterns) |
16 | if (jmatch(pat, s, m)) |
17 | true; |
18 | false; |
19 | } |
Began life as a copy of #1020831
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021490 |
| Snippet name: | jmatch_any |
| Eternal ID of this version: | #1021490/3 |
| Text MD5: | d138319b77112319ede1042722caacfb |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-15 21:56:57 |
| Source code size: | 415 bytes / 19 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 546 / 569 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |