{"id":20474494,"url":"https://github.com/terance-edmonds/python-regex","last_synced_at":"2025-03-05T14:18:43.061Z","repository":{"id":188273739,"uuid":"671836031","full_name":"terance-edmonds/python-regex","owner":"terance-edmonds","description":"Simple RegEx pattern matching algorithm with Python","archived":false,"fork":false,"pushed_at":"2023-08-04T04:27:51.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T02:49:30.330Z","etag":null,"topics":["python","regex-pattern","string-pattern-matching"],"latest_commit_sha":null,"homepage":"","language":"Python","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/terance-edmonds.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}},"created_at":"2023-07-28T08:47:52.000Z","updated_at":"2023-08-14T13:26:03.000Z","dependencies_parsed_at":"2023-08-14T17:25:13.087Z","dependency_job_id":null,"html_url":"https://github.com/terance-edmonds/python-regex","commit_stats":null,"previous_names":["terance-edmonds/python-regex"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terance-edmonds%2Fpython-regex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terance-edmonds%2Fpython-regex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terance-edmonds%2Fpython-regex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terance-edmonds%2Fpython-regex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terance-edmonds","download_url":"https://codeload.github.com/terance-edmonds/python-regex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242039717,"owners_count":20061928,"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":["python","regex-pattern","string-pattern-matching"],"created_at":"2024-11-15T14:33:01.069Z","updated_at":"2025-03-05T14:18:43.034Z","avatar_url":"https://github.com/terance-edmonds.png","language":"Python","readme":"# Simple Regular Expression Algorithm (RegEx)\n\nThis is a simple regular expression (RegEx) algorithm developed with python.\n\nIt supports:\n  - Literals ( abc )\n  - Ranges ( [a-z], [A-Z], [0-9], [a-zA-Z0-9] )\n  - Alternatives ( a|b )\n  - Matching in the middle of a string\n\n## Usage\n\nTo run a string against the regular expression, create a new object of `RegEx` with the expression or the pattern as its parameter.\n\nThen by using the `match` function of the `RegEx` object pass the string as its parameter and get the result.\n\n```python\n    from regex import RegEx\n\n    re = RegEx(\"[a-z0-9]@[a-z].(com|net|org)\")\n    \n    result = re.match(\"hello99@gmail.com\") \n    # output: True\n\n    result = re.match(\"Hello99@gmail.com\") \n    # output: False\n\n    result = re.match(\"Hello99@gmailcom\") \n    # output: False\n```\n\nThere are some test cases in `tests.py` file. Use the below code to run the test cases.\n\n```bash\npython tests.py\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterance-edmonds%2Fpython-regex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterance-edmonds%2Fpython-regex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterance-edmonds%2Fpython-regex/lists"}