{"id":16373129,"url":"https://github.com/bbqsrc/regex-static","last_synced_at":"2025-03-21T01:31:45.859Z","repository":{"id":43292746,"uuid":"344567565","full_name":"bbqsrc/regex-static","owner":"bbqsrc","description":"Compile-time validated regex, with convenience functions for lazy and static regexes.","archived":false,"fork":false,"pushed_at":"2024-04-29T08:21:21.000Z","size":13,"stargazers_count":7,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-28T04:28:38.882Z","etag":null,"topics":["compile-time","lazy","regex","rust","static"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbqsrc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-04T18:14:36.000Z","updated_at":"2024-12-04T04:54:46.000Z","dependencies_parsed_at":"2024-10-28T09:13:15.035Z","dependency_job_id":"fa723571-2c11-4aeb-93bf-7e08681db157","html_url":"https://github.com/bbqsrc/regex-static","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"5832a9df9ffd8b5ae551292cf3965d0ce15ea637"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbqsrc%2Fregex-static","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbqsrc%2Fregex-static/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbqsrc%2Fregex-static/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbqsrc%2Fregex-static/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbqsrc","download_url":"https://codeload.github.com/bbqsrc/regex-static/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244097128,"owners_count":20397547,"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":["compile-time","lazy","regex","rust","static"],"created_at":"2024-10-11T03:13:26.694Z","updated_at":"2025-03-21T01:31:45.587Z","avatar_url":"https://github.com/bbqsrc.png","language":"Rust","readme":"# regex_static\n\nCompile-time validation of [`regex::Regex`](https://github.com/rust-lang/regex).\n\n## Examples\n\n### Lazy regex\n\nUses `once_cell` to lazily create the regex.\n\n```rust\nstatic RE: Lazy\u003cRegex\u003e = regex_static::lazy_regex!(\"^yesss$\");\n```\n\n### Static regex\n\nAlso uses `once_cell`, but works inline (will therefore reuse the same instance of the regex each function call).\n\n```rust\nlet some_regex = regex_static::static_regex!(\"^yesss$\");\n```\n\n### Ordinary regex\n\nWill create an owned `Regex`, just like calling `Regex::new(...)` but with compile-time validation.\n\n```rust\nlet ordinary_regex = regex_static::regex!(\"^yesss$\");\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbqsrc%2Fregex-static","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbqsrc%2Fregex-static","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbqsrc%2Fregex-static/lists"}