Rosetta Code/Tasks without examples: Difference between revisions

m
Line 351:
body = String(HTTP.get(page).body)
m = match(r"using any language you may know.</div>(.+)<div id=\"toc\""s, body)
m != nothing && println(replace(m.captures[1], r"<[^>]*>"s => ""), "\n", "="^8060, "\n")
i >= numtoprint && break
sleep(rand(3:7)) # wait 5 +/- 2 seconds before processing next task
4,107

edits