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

Method utf8

java/com/google/re2j/MatcherInput.java:31–33  ·  view source on GitHub ↗

Return the MatcherInput for UTF_8 encoding.

(byte[] bytes)

Source from the content-addressed store, hash-verified

29 * Return the MatcherInput for UTF_8 encoding.
30 */
31 static MatcherInput utf8(byte[] bytes) {
32 return new Utf8MatcherInput(bytes);
33 }
34
35 /**
36 * Return the MatcherInput for UTF_8 encoding.

Callers 9

testFullMatchMethod · 0.95
testFindEndMethod · 0.95
testReplaceAllMethod · 0.95
testReplaceFirstMethod · 0.95
testGroupMethod · 0.95
testFindMethod · 0.95
testFindNoMatchMethod · 0.95
resetMethod · 0.95
matcherMethod · 0.95

Calls

no outgoing calls

Tested by 7

testFullMatchMethod · 0.76
testFindEndMethod · 0.76
testReplaceAllMethod · 0.76
testReplaceFirstMethod · 0.76
testGroupMethod · 0.76
testFindMethod · 0.76
testFindNoMatchMethod · 0.76