{"id":24479041,"url":"https://github.com/jasonleelunn/regex-visualiser","last_synced_at":"2025-10-14T10:32:33.631Z","repository":{"id":268018284,"uuid":"903003245","full_name":"jasonleelunn/regex-visualiser","owner":"jasonleelunn","description":"RegEx engine implementation, with an interactive frontend :eight_spoked_asterisk:","archived":false,"fork":false,"pushed_at":"2024-12-13T19:59:37.000Z","size":168,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-08T18:00:29.668Z","etag":null,"topics":["0de5","data-visualization","regex"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/jasonleelunn.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":"2024-12-13T18:07:48.000Z","updated_at":"2024-12-13T20:06:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"e896f7d4-6ab3-4103-9705-c4d380490046","html_url":"https://github.com/jasonleelunn/regex-visualiser","commit_stats":null,"previous_names":["jasonleelunn/regex-visualiser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jasonleelunn/regex-visualiser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonleelunn%2Fregex-visualiser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonleelunn%2Fregex-visualiser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonleelunn%2Fregex-visualiser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonleelunn%2Fregex-visualiser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasonleelunn","download_url":"https://codeload.github.com/jasonleelunn/regex-visualiser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonleelunn%2Fregex-visualiser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018781,"owners_count":26086452,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["0de5","data-visualization","regex"],"created_at":"2025-01-21T10:14:20.689Z","updated_at":"2025-10-14T10:32:33.622Z","avatar_url":"https://github.com/jasonleelunn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RegEx Engine Visualiser\n\nThis project contains;\n\n- A library containing a TypeScript implementation of a RegEx engine consisting of a recursive descent parser and an evaluator based on [Thompson's Construction](https://en.wikipedia.org/wiki/Thompson%27s_construction)\n- An application designed to visualise the output of the above library, which plots an interactive network diagram of the non-deterministic finite state machine representation of the given RegEx\n\n## Table of Contents\n\n- [Features](#features)\n  - [Library](#library)\n  - [Application](#application)\n- [Running the application locally](#running-the-application-locally)\n- [Tests](#tests)\n- [Acknowledgements](#acknowledgements)\n\n## Features\n\n### Library\n\nThis table outlines the currently supported special RegEx characters;\n\n| Symbol | Meaning                                          |\n| ------ | ------------------------------------------------ |\n| \\*     | Match the previous expression zero or more times |\n| +      | Match the previous expression one or more times  |\n| ?      | Match the previous expression zero or one times  |\n| .      | Match any character                              |\n| \\|     | Match the expression to the left or to the right |\n| (      | Start of a group expression                      |\n| )      | End of a group expression                        |\n\n\u003e NOTE: Backreferences are not supported by design, as they require an evaluator which supports exponential backtracking. See the [re2 Wiki](https://github.com/google/re2/wiki/syntax) for more info.\n\n### Application\n\n![Application screenshot](./docs/screenshot.png)\n\n- Editing the RegEx will automatically update the graph\n- Change the test string to evaluate if it matches\n- Step through the string evaluation states with the arrow buttons\n- [dagre.js](https://github.com/dagrejs/dagre) is used to calculate the graph layout\n- [SvelteFlow](https://svelteflow.dev/) is used to render the graph\n\n## Running the application locally\n\n\u003e NOTE: Requires a modern version of Node (\u003e20)\n\n```bash\ngit clone git@github.com:jasonleelunn/regex-visualiser.git\n\ncd regex-visualiser\n\ncorepack enable\n\npnpm install\n\npnpm run dev\n```\n\n## Tests\n\nRun the library unit and integration tests with the following command;\n\n```bash\npnpm run test\n```\n\n## Acknowledgements\n\n- Inspired by the [0DE5 Chapter 2](https://www.0de5.net/explore) series of lectures and notes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonleelunn%2Fregex-visualiser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasonleelunn%2Fregex-visualiser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonleelunn%2Fregex-visualiser/lists"}