Transpiled version (2190L) is out of date.
// tok = parsed with htmlTok sS findTag(L<S> tok, S tag) { for (int i = 1; i < l(tok); i += 2) if (isTag(tok.get(i), tag)) ret tok.get(i); null; } sS mapMethodLike findTag(S tag, LS tok) { ret findTag(tok, tag); } // Note the reversed parameters sS mapMethodLike findTag(S tag, S html) { ret findTag(htmlTok(html), tag); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009190 |
Snippet name: | findTag - find tag in HTML/XML text (just the opening/standalone tag) |
Eternal ID of this version: | #1009190/4 |
Text MD5: | 372762e64fede4bbc29f50c8b26dde20 |
Author: | stefan |
Category: | javax / html |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-29 13:47:11 |
Source code size: | 357 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 583 / 633 |
Version history: | 3 change(s) |
Referenced in: | [show references] |