{"id":13755868,"url":"https://github.com/KilianVounckx/roc_regex","last_synced_at":"2025-05-10T02:33:16.975Z","repository":{"id":170685715,"uuid":"646892510","full_name":"KilianVounckx/roc_regex","owner":"KilianVounckx","description":"Toy regex package for roc","archived":false,"fork":false,"pushed_at":"2023-05-29T15:34:18.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-02-11T15:09:35.382Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/KilianVounckx.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}},"created_at":"2023-05-29T15:20:23.000Z","updated_at":"2024-02-11T15:09:37.392Z","dependencies_parsed_at":"2024-02-11T15:09:36.755Z","dependency_job_id":"0b5e9f7d-069e-4bf1-bcb5-106353cbcc6b","html_url":"https://github.com/KilianVounckx/roc_regex","commit_stats":null,"previous_names":["kilianvounckx/roc_regex"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KilianVounckx%2Froc_regex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KilianVounckx%2Froc_regex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KilianVounckx%2Froc_regex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KilianVounckx%2Froc_regex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KilianVounckx","download_url":"https://codeload.github.com/KilianVounckx/roc_regex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253354490,"owners_count":21895437,"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":[],"created_at":"2024-08-03T11:00:31.995Z","updated_at":"2025-05-10T02:33:16.715Z","avatar_url":"https://github.com/KilianVounckx.png","language":null,"funding_links":[],"categories":["Roc Packages 📦"],"sub_categories":[],"readme":"# Regex\n\nA toy regex implementation in [roc](https://www.roc-lang.org/).\n\nIt is far from feature complete, and probably doesn't follow any spec. I am just working on this\nto learn about regex, roc and language theory.\n\n## What is there\n\n* Regex objects can be parsed from strings as in most programming languages.\n* `matches` function which checks if a string matches a regex object (does not return the substring)\n\n### Supported regex syntax\n\n* choices (with `|`)\n* choice groups (with `[]`)\n* grouped regex expressions (with `()`)\n* star operator (`*`)\n* plus operator (`+`)\n* question mark operator (`?`)\n\n## Plans\n\n* choice group negation (with `^` in beginning of `[]`)\n* range expressions (with `-` in `[]`)\n* metacharacters (like `.`, `\\d`, `\\w`, ...)\n* position anchors (like `^` and `$`, `\\b`, `\\A` and `\\Z`, ...)\n\n## Non-plans\n\nSome things I explicitly don't want to get into at the moment. This doesn't mean they won't ever\nget implemented, but it means it is not something I am interested in right now.\n\n* Unicode support (for now only ascii. when not combined with operators, unicode should work)\n* State machine (at the moment the implementation uses regex derivatives. to get a more performant\n  engine, you would need to convert it to a state machine)\n* High performance (This is a toy engine so I can learn)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKilianVounckx%2Froc_regex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKilianVounckx%2Froc_regex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKilianVounckx%2Froc_regex/lists"}