MCPcopy Create free account
hub / github.com/ReadyTalk/avian / matches

Method matches

classpath/java/util/regex/Pattern.java:58–60  ·  view source on GitHub ↗
(String regex, CharSequence input)

Source from the content-addressed store, hash-verified

56 public abstract Matcher matcher(CharSequence input);
57
58 public static boolean matches(String regex, CharSequence input) {
59 return Pattern.compile(regex).matcher(input).matches();
60 }
61
62 public String pattern() {
63 return pattern;

Callers 1

matchesMethod · 0.95

Calls 2

compileMethod · 0.95
matcherMethod · 0.45

Tested by

no test coverage detected