{"id":13726934,"url":"https://github.com/uellenberg/REXS","last_synced_at":"2025-05-07T22:30:38.843Z","repository":{"id":37806229,"uuid":"370219917","full_name":"uellenberg/REXS","owner":"uellenberg","description":"A language for writing regular expressions.","archived":false,"fork":false,"pushed_at":"2023-03-06T12:59:45.000Z","size":1064,"stargazers_count":133,"open_issues_count":9,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T17:47:43.895Z","etag":null,"topics":["compiler","decompiler","expression","expressions","lang","language","re","regex","regular","regular-expression","regular-expressions"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uellenberg.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}},"created_at":"2021-05-24T03:48:40.000Z","updated_at":"2024-10-05T14:53:12.000Z","dependencies_parsed_at":"2024-02-04T19:43:47.073Z","dependency_job_id":null,"html_url":"https://github.com/uellenberg/REXS","commit_stats":{"total_commits":45,"total_committers":3,"mean_commits":15.0,"dds":"0.15555555555555556","last_synced_commit":"2f4b592de9074a5334b1d58341398fc81d2ff6d9"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uellenberg%2FREXS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uellenberg%2FREXS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uellenberg%2FREXS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uellenberg%2FREXS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uellenberg","download_url":"https://codeload.github.com/uellenberg/REXS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252965104,"owners_count":21832823,"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":["compiler","decompiler","expression","expressions","lang","language","re","regex","regular","regular-expression","regular-expressions"],"created_at":"2024-08-03T01:03:32.033Z","updated_at":"2025-05-07T22:30:38.419Z","avatar_url":"https://github.com/uellenberg.png","language":"TypeScript","readme":"\u003ch1 align=\"center\"\u003eREXS\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.codefactor.io/repository/github/uellenberg/REXS\"\u003e\n        \u003cimg src=\"https://www.codefactor.io/repository/github/uellenberg/REXS/badge\" alt=\"CodeFactor\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/uellenberg/REXS\"\u003e\n        \u003cimg src=\"https://codecov.io/gh/uellenberg/REXS/branch/master/graph/badge.svg?token=DK9G4WE5OA\" alt=\"Codecov\"\u003e\n    \u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/github/workflow/status/uellenberg/REXS/Build%20and%20Test/master\" alt=\"Build\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dt/rexs\" alt=\"Downloads\"\u003e\n\u003c/p\u003e\nREXS is a language to create regular expressions. It can be used to create more readable and easy-to-modify expressions that compile to clean and readable regular expressions.\n\nFor more information on REXS' syntax (or how to use it), take a look at https://esolangs.org/wiki/REXS.\n\n## Example\nAn example usage of REXS can be to match on any URL that starts with http:// or https://, then match any subdomains, followed by the domain and .com:\n```rexs\nassert(START);\n\nmatch(\"http\");\n\nrepeat(0, 1) {\n    match(\"s\");\n}\n\nmatch(\"://\");\n\nrepeat(0, inf, nongreedy) {\n    repeat(1, inf, nongreedy) {\n        match(ANY);\n    }\n    match(\".\");\n}\n\ngroup() {\n    repeat(1, inf, nongreedy) {\n        match(ANY);\n    }\n\n    match(\".com\");\n}\n\nassert(END);\n```\nThis example will be compiled to `/^https?:\\/\\/(?:.+?\\.)*?(.+?\\.com)$/`.\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuellenberg%2FREXS","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuellenberg%2FREXS","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuellenberg%2FREXS/lists"}