{"id":19770040,"url":"https://github.com/cbritopacheco/my-regex","last_synced_at":"2025-02-28T04:26:55.599Z","repository":{"id":128581866,"uuid":"85781179","full_name":"cbritopacheco/my-regex","owner":"cbritopacheco","description":"Custom regular expression engine","archived":false,"fork":false,"pushed_at":"2021-09-30T18:38:27.000Z","size":765,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-11T00:46:00.919Z","etag":null,"topics":["cpp","regex"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbritopacheco.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,"publiccode":null,"codemeta":null}},"created_at":"2017-03-22T03:32:18.000Z","updated_at":"2021-09-30T18:38:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"6408efc7-45a9-4c22-af54-88186f90f739","html_url":"https://github.com/cbritopacheco/my-regex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbritopacheco%2Fmy-regex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbritopacheco%2Fmy-regex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbritopacheco%2Fmy-regex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbritopacheco%2Fmy-regex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbritopacheco","download_url":"https://codeload.github.com/cbritopacheco/my-regex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241101342,"owners_count":19909887,"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":["cpp","regex"],"created_at":"2024-11-12T04:45:37.766Z","updated_at":"2025-02-28T04:26:55.577Z","avatar_url":"https://github.com/cbritopacheco.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is it?\nThis is a Regex engine that matches a string like `abbccccaa` to a pattern like `a+b*(cc)*aa`.\nIt does this by building a Non-Deterministic Finite Automata  out of the given regular expression and recursively\nemulating the automata.\n\n# Basic usage\n````cpp\n#include \u003ciostream\u003e\n#include \"src/Regex/Regex.h\"\n\nusing namespace std;\n\nint main() {\n\n    Regex::Regex regex(\"aaa(a|b)+c*\");\n    cout \u003c\u003c \"Match? \" \u003c\u003c regex.match(\"aaabbababacc\") \u003c\u003c endl;\n\n    return 0;\n}\n````\n\nOutput:\n\n`~ $ Match? 1`\n\n# How-to use\nPlease see the Examples/ directory for examples on how to use the code. Each subfolder will have an explanation.\n\n# Building\n\nTo build the project you just have to clone the repo using\n\n`git clone https://github.com/carlosb/regexp-to-automata`\n\nNavigate to the directory where you cloned:\n\n`cd dir_where_you_cloned`\n\nType in:\n\n````\ncmake .\ncd cmake-build-debug\nmake\n````\n\nAnd to execute:\n\n`./MyRegex`\n\n# Notes on Building\nThis project is coded using C++11 syntax. This should be set in CMakeLists.txt if using CMake with the flag\n\n`set(CMAKE_CXX_STANDARD 11)`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbritopacheco%2Fmy-regex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbritopacheco%2Fmy-regex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbritopacheco%2Fmy-regex/lists"}