Saxonberg Server API
    Preparing search index...
    Index

    Methods

    • 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.

      Parameters

      • pattern: string

      Returns RegExp

    • Return true if path matches pattern. Both are strings; pattern may contain *, **, and ? wildcards.

      Parameters

      • path: string
      • pattern: string

      Returns boolean