!7 p { S s = join(" ", args) + " type:34 type:40 type:55"; S page = loadPage(tb_mainServer() + "/tb/search.php?q=" + urlencode(s)); // example string matched: ">#1000689 - processSilent function (hotwire and call for processing)
" //Matcher m = Pattern.compile(">#(\\d+ - .*?)(#\\d+) - (.*?)
").matcher(page); print("\n== Searched for " + quote(s) + ", best results first ==\n"); new L results; while (m.find()) { results.add(m.group(1) + " - " + m.group(2)); if (results.size() > 10) break; } pnl(results); }