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

Method matchUTF8

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

Source from the content-addressed store, hash-verified

367 */
368 // This is visible for testing.
369 boolean matchUTF8(byte[] b) {
370 return doExecute(MachineInput.fromUTF8(b), 0, UNANCHORED, 0) != null;
371 }
372
373 /**
374 * Returns true iff textual regular expression {@code pattern} matches string {@code s}.

Callers 1

testMatchMethod · 0.95

Calls 2

doExecuteMethod · 0.95
fromUTF8Method · 0.95

Tested by 1

testMatchMethod · 0.76