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

Method Pattern

java/com/google/re2j/Pattern.java:63–73  ·  view source on GitHub ↗
(String pattern, int flags, RE2 re2)

Source from the content-addressed store, hash-verified

61
62 // This is visible for testing.
63 Pattern(String pattern, int flags, RE2 re2) {
64 if (pattern == null) {
65 throw new NullPointerException("pattern is null");
66 }
67 if (re2 == null) {
68 throw new NullPointerException("re2 is null");
69 }
70 this.pattern = pattern;
71 this.flags = flags;
72 this.re2 = re2;
73 }
74
75 /**
76 * Releases memory used by internal caches associated with this pattern. Does not change the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected