{"id":18854376,"url":"https://github.com/urbanjost/m_regex","last_synced_at":"2026-01-24T08:05:27.300Z","repository":{"id":64991810,"uuid":"580473717","full_name":"urbanjost/M_regex","owner":"urbanjost","description":" Fortran interface to the POSIX 1003.2 regular expression library","archived":false,"fork":false,"pushed_at":"2024-04-29T23:59:49.000Z","size":1381,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-30T18:28:11.179Z","etag":null,"topics":["fortran","fortran-package-manager","fpm","regular-expression"],"latest_commit_sha":null,"homepage":"","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/urbanjost.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":"2022-12-20T16:44:01.000Z","updated_at":"2024-04-29T23:59:50.000Z","dependencies_parsed_at":"2024-12-30T18:27:38.491Z","dependency_job_id":"13a97c25-1084-4b30-affc-2d852db519e8","html_url":"https://github.com/urbanjost/M_regex","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"9b60b6b7be33c542c3035df90752cd3a43c12ace"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_regex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_regex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_regex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_regex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urbanjost","download_url":"https://codeload.github.com/urbanjost/M_regex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239793065,"owners_count":19697893,"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":["fortran","fortran-package-manager","fpm","regular-expression"],"created_at":"2024-11-08T03:48:03.805Z","updated_at":"2026-01-24T08:05:27.234Z","avatar_url":"https://github.com/urbanjost.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n![M_regex](docs/images/regex.gif)\n---\n## Fortran interface to C POSIX regular expressions\n\nThis is a Fortran interface to the POSIX 1003.2 regular expression\nlibrary using ISO_C_BINDING based on the example in the Fortran wiki.\n\nIt adds man-pages and an fpm(1) interface and a unit test.\n\nVolunteers to extend it are welcome\n\n---\n![-](docs/images/gnu.gif)\n---\n## BUILDING THE MODULE USING make(1) \n```bash\n     git clone https://github.com/urbanjost/M_regex.git\n     cd M_regex/src\n     # change Makefile if not using one of the listed compilers\n     \n     # for gfortran\n     make clean\n     make F90=gfortran gfortran\n     \n     # for ifort\n     make clean\n     make F90=ifort ifort\n\n     # for nvfortran\n     make clean\n     make F90=nvfortran nvfortran\n```\nThis will compile the Fortran module and basic example\nprogram that exercise the routine.\n\n---\n![-](docs/images/fpm_logo.gif)\n---\n## BUILD and TEST with FPM\n\n   Alternatively, download the github repository and build it with\n   fpm ( as described at [Fortran Package Manager](https://github.com/fortran-lang/fpm) )\n\n```bash\n        git clone https://github.com/urbanjost/M_regex.git\n        cd M_regex\n        fpm test\n```\n\n   or just list it as a dependency in your fpm.toml project file.\n\n```toml\n        [dependencies]\n        M_regex        = { git = \"https://github.com/urbanjost/M_regex.git\" }\n```\n\n---\n![-](docs/images/docs.gif)\n---\n## DOCUMENTATION\n\n### USER\n   - A single page that uses javascript to combine all the HTML\n     descriptions of the man-pages is at \n     [BOOK_M_regex](https://urbanjost.github.io/M_regex/BOOK_M_regex.html).\n   - a simple index to the man-pages in HTML form for the\n     [routines](https://urbanjost.github.io/M_regex/man3.html) \n   - There are man-pages in the repository download in the docs/ directory\n     that may be installed on ULS (Unix-Like Systems).\n   - ![man-pages](docs/images/manpages.gif)\n      + [manpages.zip](https://urbanjost.github.io/M_regex/manpages.zip)\n      + [manpages.tgz](https://urbanjost.github.io/M_regex/manpages.tgz)\n\n   - [CHANGELOG](docs/CHANGELOG.md) provides a history of significant changes\n\n### DEVELOPER\n   - [ford(1) output](https://urbanjost.github.io/M_regex/fpm-ford/index.html).\n   - [github action status](docs/STATUS.md) \n\u003c!--\n   - [doxygen(1) output](https://urbanjost.github.io/M_regex/doxygen_out/html/index.html).\n--\u003e\n---\n## PEDIGREE\n\n This is a modified version of the Fortran wiki\n entry [regex_module](https://fortranwiki.org/fortran/show/regex_module)\n\n## SEE ALSO \n\n   - https://github.com/sage-git/regex-fortran\n   - https://github.com/urbanjost/M_match \n   - https://github.com/ZedThree/fortran_pcre \n   - https://github.com/interkosmos/fortran-unix \n   - https://github.com/urbanjost/general-purpose-fortran \n   - https://github.com/vmagnin/gtk-fortran/blob/gtk3/examples/regex.f90 \n   - https://swtch.com/~rsc/regexp/ \n   - https://fortran-lang.discourse.group/t/regular-expressions-regex-and-fortran/778 \n   - https://github.com/search?q=fortran+regex \n   \n   - http://www.pcre.org/ \n   - https://developer.gnome.org/glib/stable/glib-Perl-compatible-regular-expressions.html \n   - https://en.wikipedia.org/wiki/GLib \n\n---\n![-](docs/images/ref.gif)\n---\n## REFERENCES\n\n   - [Wikipedia](https://en.wikipedia.org/wiki/Regular_expression)\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbanjost%2Fm_regex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furbanjost%2Fm_regex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbanjost%2Fm_regex/lists"}