{"id":16950260,"url":"https://github.com/jsumners/go-reggie","last_synced_at":"2026-07-04T05:33:19.807Z","repository":{"id":151007961,"uuid":"623522926","full_name":"jsumners/go-reggie","owner":"jsumners","description":"A wrapper on top of regexp.Regexp that provides utility methods for accessing named capture group results.","archived":false,"fork":false,"pushed_at":"2023-04-04T15:37:12.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T07:07:49.482Z","etag":null,"topics":["go","golang","regex","regular-expression"],"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/jsumners.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":"2023-04-04T14:38:04.000Z","updated_at":"2023-04-04T14:49:00.000Z","dependencies_parsed_at":"2023-05-06T03:16:28.051Z","dependency_job_id":null,"html_url":"https://github.com/jsumners/go-reggie","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsumners%2Fgo-reggie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsumners%2Fgo-reggie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsumners%2Fgo-reggie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsumners%2Fgo-reggie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsumners","download_url":"https://codeload.github.com/jsumners/go-reggie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244776845,"owners_count":20508600,"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":["go","golang","regex","regular-expression"],"created_at":"2024-10-13T21:57:13.216Z","updated_at":"2025-10-30T20:18:22.266Z","avatar_url":"https://github.com/jsumners.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reggie\n\nA simple wrapper on top of [`regexp.Regexp`](https://pkg.go.dev/regexp#Regexp)\nto make working with named capture groups easier.\n\nSee [example_basic_test.go](./example_basic_test.go) for a full example.\n\n## Install\n\n```sh\n$ go get github.com/jsumners/go-reggie\n```\n\n## Example\n\n```go\npackage main\n\nimport \"github.com/jsumners/go-reggie\"\nimport \"fmt\"\n\nfunc main() {\n\tregex := reggie.MustCompile(`(?P\u003cfoo\u003e\\w{3})`)\n\tmatches := regex.FindStringSubmatch(\"bar\")\n\t\n\tif matches == nil {\n\t\tpanic(\"💥\")\n\t}\n\t\t\n\tfoo := regex.SubmatchWithName(\"foo\")\n\tfmt.Println(foo)\n\t\n\t// Output:\n\t// bar\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsumners%2Fgo-reggie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsumners%2Fgo-reggie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsumners%2Fgo-reggie/lists"}