{"id":70994,"library":"oriser-regroup","title":"Regroup Regex Group Extractor","description":"A Go library for extracting named groups from regular expressions with struct mapping.","status":"active","version":"0.0.0-20230527212431-1b00c9bdbc5b","language":"go","source_language":null,"source_url":"https://github.com/oriser/regroup","tags":["regex","groups","struct","mapping"],"install":[{"cmd":"go get github.com/oriser/regroup","lang":"bash","label":"Install github.com/oriser/regroup"}],"dependencies":[],"imports":[{"symbol":"regroup","correct":"github.com/oriser/regroup"}],"quickstart":{"code":"package main\n\nimport (\n\t\"github.com/oriser/regroup\"\n)\n\ntype Data struct {\n\tName string `regroup:\"name\"`\n\tAge  int    `regroup:\"age\"`\n}\n\nfunc main() {\n\tre := regroup.MustCompile(`(?P<name>\\w+) is (?P<age>\\d+)`)\n\tvar data Data\n\tre.MatchString(\"Alice is 30\", &data)\n\tprintln(data.Name, data.Age)\n}","lang":"go","description":"Matches a string and extracts named groups into a struct."},"warnings":[],"env_vars":null,"search_vec":"'express':14 'extract':9 'extractor':4 'go':6 'group':3,11,19 'librari':7 'map':17,21 'name':10 'regex':2,18 'regroup':1 'regular':13 'struct':16,20","created_at":"2026-06-17T18:21:25.572230+00:00","updated_at":"2026-06-17T18:21:25.572230+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/oriser/regroup","github":"https://github.com/oriser/regroup","docs":"https://pkg.go.dev/github.com/oriser/regroup#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}