void append(MatchResult match, TextBuffer dest) { if (prefix != null) dest.append(prefix); if (index == null) return; int i = index; if (i >= match.pattern().groupCount()) return; if (match.isCaptured(i)) match.getGroup(i, dest, modes); }
void append(MatchResult match, TextBuffer dest, boolean pass) { if (!pass) { if (prefix != null) dest.append(prefix); if (index == null) return; int i = index; if (i >= match.pattern().groupCount()) return; if (match.isCaptured(i)) match.getGroup(i, dest, modes); } }
void append(MatchResult match, TextBuffer dest) { if (prefix != null) dest.append(prefix); if (index == null) return; int i = index; if (i >= match.pattern().groupCount()) return; if (match.isCaptured(i)) match.getGroup(i, dest, modes); }