// returns snippet IDs static L search(S query) { S page = loadPage("http://tinybrain.de:8080/tb/search.php?q=" + urlencode(query)); Matcher m = Pattern.compile(">(#\\d+) - (.*?)
").matcher(page); new L results; while (m.find()) results.add(m.group(1)); ret results; }