Jump to content

Rosetta Code/Tasks without examples: Difference between revisions

Updated the regular expression to take in account the changes in the HTML: <div id="toc" is replaced with <mw:tocplace>
m (→‎{{header|Wren}}: Updated site URL and output.)
(Updated the regular expression to take in account the changes in the HTML: <div id="toc" is replaced with <mw:tocplace>)
Line 437:
const Base = "http://rosettacode.org/wiki/"
const Limit = 3 # number of tasks to print out.
let re2 = re("""(?s)using any language you may know.</div>(.*?)<div id="toc"mw:tocplace>""")
for i, task in tasks:
var matches: array[2, string]
256

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.