Static
Compile a glob pattern to a RegExp. Cached per-pattern in a small Map; patterns are typically a closed set declared at policy construction time.
Return true if path matches pattern. Both are strings; pattern may contain *, **, and ? wildcards.
path
pattern
*
**
?
Compile a glob pattern to a RegExp. Cached per-pattern in a small Map; patterns are typically a closed set declared at policy construction time.