{"id":15862015,"url":"https://github.com/afeiship/next-match","last_synced_at":"2026-05-02T19:34:18.670Z","repository":{"id":57122780,"uuid":"329201059","full_name":"afeiship/next-match","owner":"afeiship","description":"Math groups with next.","archived":false,"fork":false,"pushed_at":"2021-01-13T05:33:02.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-18T04:44:36.879Z","etag":null,"topics":["exec","group","jswork","match","next","nx","string"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-13T05:13:57.000Z","updated_at":"2021-01-13T05:33:04.000Z","dependencies_parsed_at":"2022-08-24T14:57:12.453Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/next-match","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/next-match","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-match","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-match/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-match/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-match/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/next-match/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-match/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32547650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T19:18:06.202Z","status":"ssl_error","status_checked_at":"2026-05-02T19:16:21.335Z","response_time":132,"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":["exec","group","jswork","match","next","nx","string"],"created_at":"2024-10-05T22:23:16.568Z","updated_at":"2026-05-02T19:34:18.652Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-match\n\u003e Math groups with next.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```bash\nnpm install -S @jswork/next-match\n```\n\n## usage\n```js\nimport '@jswork/next-match';\n\nconst str = '/api/v1/{id}/{uuid}/{a.b}';\nconst regexp = /{(.*?)}/g;\n\nnx.match(str, regexp, 0);   // [ '{id}', '{uuid}', '{a.b}' ]\nnx.match(str, regexp, 1);   // ['id', 'uuid', 'a.b']\n```\n\n## resources\n- https://stackoverflow.com/questions/432493/how-do-you-access-the-matched-groups-in-a-javascript-regular-expression\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/next-match/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/next-match\n[version-url]: https://npmjs.org/package/@jswork/next-match\n\n[license-image]: https://img.shields.io/npm/l/@jswork/next-match\n[license-url]: https://github.com/afeiship/next-match/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-match\n[size-url]: https://github.com/afeiship/next-match/blob/master/dist/next-match.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/next-match\n[download-url]: https://www.npmjs.com/package/@jswork/next-match\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-match","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fnext-match","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-match/lists"}