// tok = parsed with htmlTok
static LS findAllTagsNamed(LS tok, S tag) {
new LS out;
for (int i = 1; i < l(tok); i += 2)
if (isTag(tok.get(i), tag))
out.add(tok.get(i));
ret out;
}
static LS mapMethodLike findAllTagsNamed(S tag, LS tok) {
ret findAllTagsNamed(tok, tag);
}
// Note the reversed parameters
static LS mapMethodLike findAllTagsNamed(S tag, S html) {
ret findAllTagsNamed(htmlTok(html), tag);
}