linkFAQ.frink

Download or view linkFAQ.frink in plain text format


f = read["https://frinklang.org/faq.html"]

count = 0

println["  <UL>"]
for [index, link, header] = f =~ %r/<h([34])>\s*<A\s+NAME="(.*?)">(.*?)\s*<\/a><\/h\1>/igs
{
   count = count + 1
   
//   println["$index: $link $header"]
   println["   <LI><A HREF=\"#$link\">$header</A>"]
}
println["  </UL>"]

//println["$count lines matched"]


Download or view linkFAQ.frink in plain text format


This is a program written in the programming language Frink.
For more information, view the Frink Documentation or see More Sample Frink Programs.

Alan Eliasen was born 19964 days, 21 hours, 47 minutes ago.