All pastes #1665139 Raw Edit

Unbenannt

public java v1 · immutable
#1665139 ·published 2009-11-10 17:46 UTC
rendered paste body
    private final Pattern PATTERN_BROWNE = Pattern.compile(            "\00314\\[\\[\00307(.*?)\00314\\]\\]\0034(.*?)\00310 " +            "\00302(.*?)\003 \0035\\*\003 \00303(.*?)\003 \0035\\*\003(?:.*?\00310(.*?))?");    public void handleBrowneMessage(String line, String channel)    {        Matcher IRCLine = PATTERN_BROWNE.matcher(line);        if (!IRCLine.matches())        {            debug(1, "Broken IRC line: "+line);            return;        }        String pagename    = IRCLine.group(1).trim();        String Flags       = IRCLine.group(2).trim();        String url         = IRCLine.group(3).trim();        String username    = IRCLine.group(4).trim();        String editsummary = IRCLine.group(5);        if (editsummary != null)            editsummary    = Colors.removeFormattingAndColors(editsummary.trim());        else            editsummary    = "";*CUT*