{"id":16590460,"url":"https://github.com/federicotdn/match2000","last_synced_at":"2026-05-26T23:02:15.345Z","repository":{"id":249453457,"uuid":"831557448","full_name":"federicotdn/match2000","owner":"federicotdn","description":"Fuzzy text matching in Go, based on go-diff","archived":false,"fork":false,"pushed_at":"2024-07-20T23:15:27.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T12:52:06.708Z","etag":null,"topics":["bitap","diff","fuzzy","go","match","search","string","text"],"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/federicotdn.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":"2024-07-20T23:13:15.000Z","updated_at":"2024-07-20T23:15:30.000Z","dependencies_parsed_at":"2024-07-21T00:24:36.959Z","dependency_job_id":"651e07cd-3bb6-45df-bc17-d378e57d17bd","html_url":"https://github.com/federicotdn/match2000","commit_stats":null,"previous_names":["federicotdn/match2000"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/federicotdn/match2000","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federicotdn%2Fmatch2000","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federicotdn%2Fmatch2000/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federicotdn%2Fmatch2000/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federicotdn%2Fmatch2000/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/federicotdn","download_url":"https://codeload.github.com/federicotdn/match2000/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federicotdn%2Fmatch2000/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33542350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bitap","diff","fuzzy","go","match","search","string","text"],"created_at":"2024-10-11T23:13:11.804Z","updated_at":"2026-05-26T23:02:15.316Z","avatar_url":"https://github.com/federicotdn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# match2000\nmatch2000 is a library for performing fuzzy text search in Go. It is a modified version of a subset of the [go-diff](https://github.com/sergi/go-diff) library.\n\nThe main modification made was that the `pattern` argument can now have any length. Previously having too long of a pattern would cause an overflow due to the code attempting to left-shift an `int` more than 32 times. The match2000 implementation uses the `Int` type from `math/big`, gaining flexibility but with a performance penalty.\n\nOther smaller modifications applied were:\n- Removed assumptions about strings being UTF-8 encoded.\n- Changed all usages of `math.Min` and `math.Max` to `min` and `max`.\n- Removed all unnecessary `int` -\u003e `float64` -\u003e `int` conversions (after above change was applied).\n- Removed dependency on `github.com/stretchr/testify/assert` package.\n- Changed `DiffMatchPatch` struct name to just `Match`.\n- Unexported `MatchAlphabet`.\n- Simplified code slightly where possible.\n- Adapted tests to changes described above, plus added more test cases.\n\n## License\n\nSame license as the original go-diff library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedericotdn%2Fmatch2000","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedericotdn%2Fmatch2000","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedericotdn%2Fmatch2000/lists"}