{"id":19604134,"url":"https://github.com/zedthree/fortran_pcre","last_synced_at":"2026-02-26T15:39:46.090Z","repository":{"id":145381112,"uuid":"86975134","full_name":"ZedThree/fortran_pcre","owner":"ZedThree","description":"Fortran wrapper around the PCRE library","archived":false,"fork":false,"pushed_at":"2020-02-17T09:27:13.000Z","size":17,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-29T02:39:28.646Z","etag":null,"topics":["fortran","pcre","regex"],"latest_commit_sha":null,"homepage":null,"language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZedThree.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-04-02T09:08:43.000Z","updated_at":"2022-06-10T05:19:54.000Z","dependencies_parsed_at":"2023-06-03T16:30:25.032Z","dependency_job_id":null,"html_url":"https://github.com/ZedThree/fortran_pcre","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"e1de8d723f63272d07053b4cdcfc4affa8e6ff6c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ZedThree/fortran_pcre","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZedThree%2Ffortran_pcre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZedThree%2Ffortran_pcre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZedThree%2Ffortran_pcre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZedThree%2Ffortran_pcre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZedThree","download_url":"https://codeload.github.com/ZedThree/fortran_pcre/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZedThree%2Ffortran_pcre/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279085938,"owners_count":26100021,"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-15T02:00:07.814Z","response_time":56,"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":["fortran","pcre","regex"],"created_at":"2024-11-11T09:34:57.942Z","updated_at":"2025-10-15T15:18:42.553Z","avatar_url":"https://github.com/ZedThree.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"fortran_pcre\n============\n\nA very basic wrapper around the PCRE regex C library. Use at your own\nrisk! MIT licence.\n\nThis contains the absolute bare minimum to be the least bit useful:\n\n- `pcre_compile`: to compile a regex\n- `pcre_exec`: to match a regex\n- `pcre_fullinfo`: to get info on a match\n- a bunch of constants to pass to `pcre_fullinfo`\n\n`test.f90` is basically a minimal port of `pcredemo.c`\n\n`test3.f90` runs a whole bunch of regex tests\n\n- Compile test like: `gfortran-7 -g -std=f2008 pcre_constants.f90 pcre_module.f90 test3.f90 -o test3 -lpcre`\n\n\nRequirements\n------------\n\n- libpcre1\n- Fortran compiler with decent F2008 support\n    - Tested with gfortran 5.4.1, 6.2.1, 7.0.1\n\nBugs/gotchas\n------------\n\n- ~~some character classes like `\\s` and `\\d` don't work. No idea why.~~ **Fixed**\n- super minimal functionality at the mo\n\n\nTODO\n----\n\nPull requests more than welcome!\n\n- [ ] wrap the rest of the API\n- [ ] add module for passing strings between C/Fortran\n- [x] add the rest of the constants/hex flags\n- [x] move constants into separate module\n- [x] add tests!\n- [ ] make object-oriented?\n- [ ] add CMake support\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzedthree%2Ffortran_pcre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzedthree%2Ffortran_pcre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzedthree%2Ffortran_pcre/lists"}