Libraryless. Click here for Pure Java version (2649L/17K).
static boolean find3(S pat, S s) { return find3(pat, s, null); } static boolean find3(S pat, S s, Matches matches) { ret find3(pat, parse3_cachedInput(s), matches); } static boolean find3(S pat, LS toks, Matches matches) { L<S> tokpat = parse3_cachedPattern(pat); S[] m = find2(tokpat, toks); //print(structure(tokpat) + " on " + structure(toks) + " => " + structure(m)); if (m == null) false; if (matches != null) matches.m = m; true; }
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: | 833 / 1185 |
Version history: | 3 change(s) |
Referenced in: | [show references] |