SICStus Prolog interface to ISO regular expression functions

Straightforward SICStus Prolog interface to the ISO regular expression functions regcomp(3), regexec(3), regfree(3), regerror(3). Tested with HP-UX 10.20 (cc) and Linux 2.0 (gcc). You need at least SICStus 3 #5.

Sources

Yes, here.

Copyright

Copyright is GPL.

Install

check the Makefile. You have to make sure that the program finds appropriate regex.h. If regular expression functions are not in standard library, then you need to add the library with the +l option to splfr. For HP-UX 10.20 and Linux 2.0 you don't have to do anything.

Predicates

Others

for other approaches refer to