`; window.RE_A_TAGS = /]*)?\shref\s*=\s*["']([^"']+)["'][^>]*>(.*?)<\/a(?:\s[^>]*)?>/igs; function a(html){ const RE_A_TAGS = /]*)?\shref\s*=\s*["']([^"']+)["'][^>]*>(.*?)<\/a(?:\s[^>]*)?>/igs, a_tags = html.matchAll(RE_A_TAGS), links = []; for(const a of a_tags){ links.push({ url: a[1].trim(), anchortext: a[2].trim() }); } return links; } function b(html){ const a_tags = html.matchAll(window.RE_A_TAGS), links = []; for(const a of a_tags){ links.push({ url: a[1].trim(), anchortext: a[2].trim() }); } return links; }