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

Method findUTF8SubmatchIndex

java/com/google/re2j/RE2.java:703–705  ·  view source on GitHub ↗
(byte[] b)

Source from the content-addressed store, hash-verified

701 */
702 // This is visible for testing.
703 int[] findUTF8SubmatchIndex(byte[] b) {
704 return pad(doExecute(MachineInput.fromUTF8(b), 0, UNANCHORED, prog.numCap));
705 }
706
707 /**
708 * Returns an array of strings holding the text of the leftmost match of the regular expression in

Callers 1

Calls 3

padMethod · 0.95
doExecuteMethod · 0.95
fromUTF8Method · 0.95

Tested by 1