{"id":18977951,"url":"https://github.com/becheran/wildmatch-go","last_synced_at":"2025-04-19T17:34:31.828Z","repository":{"id":57561274,"uuid":"327936747","full_name":"becheran/wildmatch-go","owner":"becheran","description":"Simple string matching with questionmark- and star-wildcard operator","archived":false,"fork":false,"pushed_at":"2024-05-22T20:00:02.000Z","size":22,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-22T20:55:19.393Z","etag":null,"topics":["globbing","go","golang","matching-algorithm","questionmark","star","string-matching","wildcard"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/becheran.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-08T15:14:27.000Z","updated_at":"2024-06-19T19:02:39.967Z","dependencies_parsed_at":"2024-05-22T21:04:14.479Z","dependency_job_id":null,"html_url":"https://github.com/becheran/wildmatch-go","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becheran%2Fwildmatch-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becheran%2Fwildmatch-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becheran%2Fwildmatch-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becheran%2Fwildmatch-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/becheran","download_url":"https://codeload.github.com/becheran/wildmatch-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249235071,"owners_count":21235143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["globbing","go","golang","matching-algorithm","questionmark","star","string-matching","wildcard"],"created_at":"2024-11-08T15:31:32.200Z","updated_at":"2025-04-16T11:31:34.650Z","avatar_url":"https://github.com/becheran.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wildmatch go\n\n[![](https://godoc.org/github.com/becheran/wildmatch-go?status.svg)](https://godoc.org/github.com/becheran/wildmatch-go)\n[![GoDev](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go\u0026logoColor=white\u0026style=flat-square)](https://pkg.go.dev/github.com/becheran/wildmatch-go)\n[![Sourcegraph](https://sourcegraph.com/github.com/becheran/wildmatch-go/-/badge.svg)](https://sourcegraph.com/github.com/becheran/wildmatch-go?badge)\n[![Go Report Card](https://goreportcard.com/badge/becheran/wildmatch-go)](https://goreportcard.com/report/becheran/wildmatch-go)\n![GitHub Workflow Status](https://github.com/becheran/wildmatch-go/workflows/CI/badge.svg)\n\n*golang* library of the original *rust* [wildmatch library](https://github.com/becheran/wildmatch).\n\n``` sh\ngo get github.com/becheran/wildmatch-go\n```\n\nMatch strings against a simple wildcard pattern. Tests a wildcard pattern `p` against an input string `s`. Returns true only when `p` matches the entirety of `s`.\n\nSee also the example described on [wikipedia](https://en.wikipedia.org/wiki/Matching_wildcards) for matching wildcards.\n\n- `?` matches exactly one occurrence of any character.\n- `*` matches arbitrary many (including zero) occurrences of any character.\n- No escape characters are defined.\n\nFor example the pattern `ca?` will match `cat` or `car`. The pattern `https://*` will match all https urls, such as `https://google.de` or `https://github.com/becheran/wildmatch`.\n\nThe library only depends on the go standard library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbecheran%2Fwildmatch-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbecheran%2Fwildmatch-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbecheran%2Fwildmatch-go/lists"}