Skip to content

Fortran interface to the POSIX 1003.2 regular expression library

License

Notifications You must be signed in to change notification settings

urbanjost/M_regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


M_regex

Fortran interface to C POSIX regular expressions

This is a Fortran interface to the POSIX 1003.2 regular expression library using ISO_C_BINDING based on the example in the Fortran wiki.

It adds man-pages and an fpm(1) interface and a unit test.

Volunteers to extend it are welcome


-

BUILDING THE MODULE USING make(1)

     git clone https://github.com/urbanjost/M_regex.git
     cd M_regex/src
     # change Makefile if not using one of the listed compilers
     
     # for gfortran
     make clean
     make F90=gfortran gfortran
     
     # for ifort
     make clean
     make F90=ifort ifort

     # for nvfortran
     make clean
     make F90=nvfortran nvfortran

This will compile the Fortran module and basic example program that exercise the routine.


-

BUILD and TEST with FPM

Alternatively, download the github repository and build it with fpm ( as described at Fortran Package Manager )

        git clone https://github.com/urbanjost/M_regex.git
        cd M_regex
        fpm test

or just list it as a dependency in your fpm.toml project file.

        [dependencies]
        M_regex        = { git = "https://github.com/urbanjost/M_regex.git" }

-

DOCUMENTATION

USER

  • A single page that uses javascript to combine all the HTML descriptions of the man-pages is at BOOK_M_regex.

  • a simple index to the man-pages in HTML form for the routines

  • There are man-pages in the repository download in the docs/ directory that may be installed on ULS (Unix-Like Systems).

  • man-pages

  • CHANGELOG provides a history of significant changes

DEVELOPER


PEDIGREE

This is a modified version of the Fortran wiki entry regex_module

SEE ALSO


-

REFERENCES


About

Fortran interface to the POSIX 1003.2 regular expression library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published