static long parseSnippetURLOpt(S s) { if (empty(s)) ret 0; for (S pat : ll("tinybrain.de/(\\d+)", "show-snippet.php\\?id=(\\d+)", "(\\d+)\\.tinybrain\\.de")) { S id = regexpFirstGroupIC(pat, s); if (id != null) ret psI(id); } ret 0; }