MCPcopy Create free account
hub / github.com/google/re2j / replaceAll

Method replaceAll

java/com/google/re2j/Matcher.java:579–581  ·  view source on GitHub ↗

Returns the input with all matches replaced by replacement, interpreted as for appendReplacement. @param replacement the replacement string @return the input string with the matches replaced @throws IndexOutOfBoundsException if replacement refers to an invalid group

(String replacement)

Source from the content-addressed store, hash-verified

577 * @throws IndexOutOfBoundsException if replacement refers to an invalid group
578 */
579 public String replaceAll(String replacement) {
580 return replace(replacement, true);
581 }
582
583 /**
584 * Returns the input with the first match replaced by {@code replacement}, interpreted as for

Callers 1

testReplaceAllMethod · 0.95

Calls 1

replaceMethod · 0.95

Tested by 1

testReplaceAllMethod · 0.76