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

Method matches

java/com/google/re2j/Matcher.java:318–320  ·  view source on GitHub ↗

Matches the entire input against the pattern (anchored start and end). If there is a match, matches sets the match state to describe it. @return true if the entire input matches the pattern

()

Source from the content-addressed store, hash-verified

316 * @return true if the entire input matches the pattern
317 */
318 public boolean matches() {
319 return genMatch(0, RE2.ANCHOR_BOTH);
320 }
321
322 /**
323 * Matches the beginning of input against the pattern (anchored start). If there is a match,

Callers 6

testNamedGroupsMethod · 0.95
testMatchesMethod · 0.45
testMatcherMatchesMethod · 0.45
testMatcherNotMatchesMethod · 0.45

Calls 1

genMatchMethod · 0.95

Tested by 6

testNamedGroupsMethod · 0.76
testMatchesMethod · 0.36
testMatcherMatchesMethod · 0.36
testMatcherNotMatchesMethod · 0.36