Libraryless. Click here for Pure Java version (2649L/17K).
1 | static boolean find3(S pat, S s) { |
2 | return find3(pat, s, null); |
3 | } |
4 | |
5 | static boolean find3(S pat, S s, Matches matches) { |
6 | ret find3(pat, parse3_cachedInput(s), matches); |
7 | } |
8 | |
9 | static boolean find3(S pat, LS toks, Matches matches) { |
10 | L<S> tokpat = parse3_cachedPattern(pat); |
11 | S[] m = find2(tokpat, toks); |
12 | //print(structure(tokpat) + " on " + structure(toks) + " => " + structure(m)); |
13 | if (m == null) false; |
14 | if (matches != null) matches.m = m; |
15 | true; |
16 | } |
Began life as a copy of #1001104
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1001232 |
Snippet name: | find3 function |
Eternal ID of this version: | #1001232/4 |
Text MD5: | 676bfc276c211f9f13c6a13cafa8b699 |
Transpilation MD5: | ddf9d684c2bcde9b8cd26cbb9fb8a009 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-07 23:41:03 |
Source code size: | 472 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 835 / 1188 |
Version history: | 3 change(s) |
Referenced in: | [show references] |