Thinking about this a bit more, instead of using DOTALL mode, perhaps we should use this

    .compile("([\s\S]*)\\((.*)\\)");

or this:


    .compile("((.|\n|\r)*)\\((.*)\\)");