The devel/ocaml-pcre port
ocaml-pcre-7.2.3p3 – OCaml Perl-compatible regexp library
(cvsweb
github)
Description
This OCaml-library interfaces the PCRE (Perl-compatible regular
expression) library which is written in C. it can be used for matching
regular expressions which are written in the PERL style.
It is reentrant - and thus thread safe. This is not the case with the
"Str" module of OCaml, which builds on the GNU "regex"-library. Using
reentrant libraries also means more convenience for programmers. They do
not have to reason about states in which the library might be in.
The high-level functions for replacement and substitution, all
implemented in OCaml, are much faster than the ones of the "Str"-module.
In fact, when compiled to native code, they even seem to be
significantly faster than those of PERL.
WWW:
https://github.com/mmottl/pcre-ocaml
Maintainer
The OpenBSD ports mailing-list
Categories
devel
textproc
Library dependencies
Build dependencies
Run dependencies
- /usr/local/lib/ocaml/pcre/
- /usr/local/lib/ocaml/pcre/META
- /usr/local/lib/ocaml/pcre/libpcre_stubs.a
- /usr/local/lib/ocaml/pcre/pcre.a
- /usr/local/lib/ocaml/pcre/pcre.annot
- /usr/local/lib/ocaml/pcre/pcre.cma
- /usr/local/lib/ocaml/pcre/pcre.cmi
- /usr/local/lib/ocaml/pcre/pcre.cmt
- /usr/local/lib/ocaml/pcre/pcre.cmti
- /usr/local/lib/ocaml/pcre/pcre.cmx
- /usr/local/lib/ocaml/pcre/pcre.cmxa
- /usr/local/lib/ocaml/pcre/pcre.cmxs
- /usr/local/lib/ocaml/pcre/pcre.mli
- /usr/local/lib/ocaml/pcre/pcre_compat.cmx
- /usr/local/lib/ocaml/stublibs/dllpcre_stubs.so
- /usr/local/share/doc/ocaml-pcre/
- /usr/local/share/doc/ocaml-pcre/api/
- /usr/local/share/doc/ocaml-pcre/api/Pcre.html
- /usr/local/share/doc/ocaml-pcre/api/index.html
- /usr/local/share/doc/ocaml-pcre/api/index_attributes.html
- /usr/local/share/doc/ocaml-pcre/api/index_class_types.html
- /usr/local/share/doc/ocaml-pcre/api/index_classes.html
- /usr/local/share/doc/ocaml-pcre/api/index_exceptions.html
- /usr/local/share/doc/ocaml-pcre/api/index_extensions.html
- /usr/local/share/doc/ocaml-pcre/api/index_methods.html
- /usr/local/share/doc/ocaml-pcre/api/index_module_types.html
- /usr/local/share/doc/ocaml-pcre/api/index_modules.html
- /usr/local/share/doc/ocaml-pcre/api/index_types.html
- /usr/local/share/doc/ocaml-pcre/api/index_values.html
- /usr/local/share/doc/ocaml-pcre/api/style.css
- /usr/local/share/doc/ocaml-pcre/api/type_Pcre.html
- /usr/local/share/examples/ocaml-pcre/
- /usr/local/share/examples/ocaml-pcre/README
- /usr/local/share/examples/ocaml-pcre/cloc/
- /usr/local/share/examples/ocaml-pcre/cloc/README.md
- /usr/local/share/examples/ocaml-pcre/cloc/cloc.ml
- /usr/local/share/examples/ocaml-pcre/count_hash/
- /usr/local/share/examples/ocaml-pcre/count_hash/README.md
- /usr/local/share/examples/ocaml-pcre/count_hash/count_hash.ml
- /usr/local/share/examples/ocaml-pcre/pcregrep/
- /usr/local/share/examples/ocaml-pcre/pcregrep/README.md
- /usr/local/share/examples/ocaml-pcre/pcregrep/pcregrep.ml
- /usr/local/share/examples/ocaml-pcre/subst/
- /usr/local/share/examples/ocaml-pcre/subst/README.md
- /usr/local/share/examples/ocaml-pcre/subst/subst.ml