# gobwas/glob

Go glob

Repository: https://github.com/gobwas/glob
Canonical: https://ross.abutalabs.com/products/glob
Language: Go
License: MIT
License Family: permissive
Topics: glob, golang, pattern
Last push: 2026-08-17T06:22:01+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 3929, "days_push": 16, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1025, forks 80 (observed 2026-08-28T04:03:16.624045+00:00)

## What it is
A Go library for compiling and matching glob patterns like *.github.com, ?, [a-c], and {alt1,alt2}. Patterns are compiled once into a matcher object for fast repeated string matching.

## Use cases
- match file paths against glob patterns in Go
- compile a wildcard pattern once and match many strings fast
- implement allow/deny lists with wildcard patterns
- match hostnames like *.github.com
- support brace and character-class pattern syntax in my app

## When to choose
- you need fast, repeated matching of glob patterns in Go
- you need richer glob syntax than the standard library path.Match, like braces and super wildcards

## When to avoid
- you need full regular expressions rather than glob syntax
- you only match a pattern once and don't care about compile-once performance
- you need filesystem walking built in

## Facets
- artifact type: library
- maturity: stable
- function: parser, developer-tools
- domain: developer-tools, files
- platform: go, cross-platform
- tags: glob, pattern-matching, string-matching, compile-once, algorithms

## Member repositories
- gobwas/glob (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:16.624045+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:08:04.269337+00:00, confidence not recorded.
  - readme: https://github.com/gobwas/glob (fetched 2026-08-28T04:03:16.624045+00:00, sha 67176edf6fa9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
