XeTK/JavaBot — pull request #113 by ODyckhoff (2013-12-09 17:48:38+00:00)
Title: Sed.java patch

Uses the Matcher class to perform the replacement, preserving the Pattern.CASE_INSENSITIVE modifier, where the use of the String class replacement effectively discarded such modifiers.

The Pattern.DOTALL flag was removed as it is useless in the IRC protocol's single-line contexts.