{"id":19659990,"url":"https://github.com/samyak2/simpleregex.jl","last_synced_at":"2026-06-12T19:33:03.061Z","repository":{"id":117920478,"uuid":"260440232","full_name":"Samyak2/SimpleRegex.jl","owner":"Samyak2","description":"A very simple regex implementation written in Julia","archived":false,"fork":false,"pushed_at":"2020-05-01T11:22:44.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T02:51:03.857Z","etag":null,"topics":["julia","regex"],"latest_commit_sha":null,"homepage":"","language":"Julia","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/Samyak2.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":"2020-05-01T11:11:39.000Z","updated_at":"2021-07-08T17:51:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"45ede772-358e-4a35-abfc-8327b13e31b4","html_url":"https://github.com/Samyak2/SimpleRegex.jl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Samyak2/SimpleRegex.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samyak2%2FSimpleRegex.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samyak2%2FSimpleRegex.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samyak2%2FSimpleRegex.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samyak2%2FSimpleRegex.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Samyak2","download_url":"https://codeload.github.com/Samyak2/SimpleRegex.jl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samyak2%2FSimpleRegex.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34260309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":["julia","regex"],"created_at":"2024-11-11T15:44:55.425Z","updated_at":"2026-06-12T19:33:03.038Z","avatar_url":"https://github.com/Samyak2.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleRegex.jl\n\nA very simple Regular Expression based string matching implementation in Julia.\n\nYou probably do not want to use this in real applications, Julia has a better (and probably faster) inbuilt regular expression implementation. This was made only for testing and fun.\n\nThe implementation is similar to the JavaScript version from [this blog post](https://nickdrane.com/build-your-own-regex/). Inspired by  [Kriyszig's implementation](https://github.com/Kriyszig/regex).\n\n# Features\n\n - A small subset of Regex syntax\n - Supported special characters: `$`, `^`, `.`, `?`, `*`\n - Can be quite slow for longer text (since it uses simple backtracking based recursive algorithms)\n\n# Requirements\n\nTested on Julia 1.3.0\n\nNo additional packages required.\n\n# Benchmark Results\n\n```Julia\njulia\u003e @btime search($randstring(10), $randstring(100))\n  17.345 μs (605 allocations: 23.34 KiB)\nfalse\n\njulia\u003e @btime search($randstring(100), $randstring(100))\n  57.693 μs (605 allocations: 33.09 KiB)\nfalse\n\njulia\u003e @btime search($randstring(100), $randstring(1000))\n  591.240 μs (6021 allocations: 783.61 KiB)\nfalse\n\njulia\u003e @btime search($randstring(1000), $randstring(10000))\n  58.451 ms (60577 allocations: 61.01 MiB)\nfalse\n\njulia\u003e @btime search($randstring(100), $randstring(10000))\n  13.461 ms (60529 allocations: 51.71 MiB)\nfalse\n\njulia\u003e @btime search($randstring(10), $randstring(10000))\n  9.901 ms (60518 allocations: 50.75 MiB)\nfalse\n\njulia\u003e @btime search($randstring(1), $randstring(10000))\n  8.225 ms (30008 allocations: 49.23 MiB)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamyak2%2Fsimpleregex.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamyak2%2Fsimpleregex.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamyak2%2Fsimpleregex.jl/lists"}